diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-07 13:22:56 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-07 13:22:56 +0200 |
| commit | 950fac847d0776848ac8131b4aba51b7ea2b1e51 (patch) | |
| tree | 02438a95ab9f53e60aa8fb429976b57f5143d625 | |
| parent | bc2d5e85511d95110bc379226f0ddbb0dd1243a0 (diff) | |
| download | dotfiles-950fac847d0776848ac8131b4aba51b7ea2b1e51.tar.gz dotfiles-950fac847d0776848ac8131b4aba51b7ea2b1e51.zip | |
fix(nvim): disable lualine in netrw buffers
| -rw-r--r-- | .config/nvim/plugin/50-statusline.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/plugin/50-statusline.lua b/.config/nvim/plugin/50-statusline.lua index 092f08f..f9bf68f 100644 --- a/.config/nvim/plugin/50-statusline.lua +++ b/.config/nvim/plugin/50-statusline.lua @@ -35,8 +35,10 @@ vim.api.nvim_create_autocmd("OptionSet", { group = vim.g.dotfiles.augroup, callback = function() lualine.setup({ - options = { theme = vim.o.background == "light" and "solarized_light" or "solarized_dark" }, - sections = lualine_sections, + options = { + theme = vim.o.background == "light" and "solarized_light" or "solarized_dark", + disabled_filetypes = { "netrw" }, + }, }) end, }) |
