mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 17:57:47 +02: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;
|
plugin = nvim-tree-lua;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = /* 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"}, {
|
vim.api.nvim_create_autocmd({"QuitPre"}, {
|
||||||
callback = function() vim.cmd("NvimTreeClose") end
|
callback = function() vim.cmd("NvimTreeClose") end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user