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 | e4a5f174f9731c576b1232bebbe0e88d7579b4ee (patch) | |
| tree | 9db6b277d8d442a937f68157ca2ee4c97ac10c55 /plugin | |
| parent | 6ee72d2a6a08ce30fb78493657b614b792e6a838 (diff) | |
| download | nvim-config-e4a5f174f9731c576b1232bebbe0e88d7579b4ee.tar.gz nvim-config-e4a5f174f9731c576b1232bebbe0e88d7579b4ee.zip | |
fix(nvim): disable lualine in netrw buffers
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/50-statusline.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/50-statusline.lua b/plugin/50-statusline.lua index 092f08f..f9bf68f 100644 --- a/plugin/50-statusline.lua +++ b/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, }) |
