diff --git a/home/neovim.nix b/home/neovim.nix index 136ab7f..5379cc2 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -134,7 +134,11 @@ in plugin = nvim-tree-lua; type = "lua"; config = /* lua */ '' - require("nvim-tree").setup() + require("nvim-tree").setup({ + renderer = { + special_files = { "Cargo.toml", "default.nix", "Makefile", "README.md", "readme.md" } + } + }) vim.api.nvim_create_autocmd({"QuitPre"}, { callback = function() vim.cmd("NvimTreeClose") end