mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-01 03:29:24 +01:00
neovim(nvim-tree): Highlight default.nix
This commit is contained in:
parent
338bf19784
commit
ce727de65b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user