added some languages, fixed the tree's devicons

This commit is contained in:
topper3418 2024-06-26 23:06:41 -05:00
parent d72b58ed6b
commit 8c3a6b997b
2 changed files with 26 additions and 8 deletions

View file

@ -13,13 +13,27 @@ return {
keys = {
{ '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } },
},
opts = {
filesystem = {
window = {
mappings = {
['\\'] = 'close_window',
-- opts = {
-- filesystem = {
-- window = {
-- mappings = {
-- ['\\'] = 'close_window',
-- },
-- },
-- },
-- },
config = function()
require('neo-tree').setup {
filesystem = {
window = {
mappings = {
['\\'] = 'close_window',
},
},
},
},
},
}
require('nvim-web-devicons').setup {
default = true, -- globally enable default icons (default to false)
}
end,
}