Created
February 20, 2024 15:21
-
-
Save drearondov/c550da8b1200236875c0838f2c8bc1e3 to your computer and use it in GitHub Desktop.
Modify title for file explorer on AstroNVIM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider = function(self) | |
local title = " EXPLORER" | |
local width = vim.api.nvim_win_get_width(self.winid) | |
local pad = width - #title | |
return " " .. title .. string.rep(" ", pad + 2) | |
end, | |
hl = { fg = "normal", bg = "tabline_bg", bold = true }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment