diff options
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/tree.lua | 9 | ||||
| -rw-r--r-- | lua/plugins/treesitter.lua | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lua/plugins/tree.lua b/lua/plugins/tree.lua new file mode 100644 index 0000000..30aea5f --- /dev/null +++ b/lua/plugins/tree.lua @@ -0,0 +1,9 @@ +return { + "nvim-tree/nvim-tree.lua", + version = "*", + dependencies = { "nvim-tree/nvim-web-devicons", }, + config = true, + keys = { + {"<leader>t", ":NvimTreeToggle<CR>"} + } +} diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 24e6c32..69b452a 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,13 +1,13 @@ return { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", - config = function () + config = function () local ts = require("nvim-treesitter.configs") ts.setup({ ensure_installed = { "c", "lua", "vim", "vimdoc", "html", "css", "javascript" }, sync_install = false, highlight = { enable = true }, - indent = { enable = true }, + indent = { enable = true }, }) end } |
