nvim: add nvim tree
This commit is contained in:
parent
d99a52fb0e
commit
16a579b6b3
2 changed files with 12 additions and 0 deletions
|
@ -76,6 +76,7 @@ in
|
||||||
nvim-cmp
|
nvim-cmp
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
nvim-surround
|
nvim-surround
|
||||||
|
nvim-tree-lua
|
||||||
nvim-treesitter-textsubjects
|
nvim-treesitter-textsubjects
|
||||||
nvim-treesitter.withAllGrammars
|
nvim-treesitter.withAllGrammars
|
||||||
nvim-ts-context-commentstring
|
nvim-ts-context-commentstring
|
||||||
|
|
|
@ -448,3 +448,14 @@ require("nvim-lastplace").setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
require("nvim-autopairs").setup({})
|
require("nvim-autopairs").setup({})
|
||||||
|
|
||||||
|
-- disable netrw at the very start of your init.lua (strongly advised)
|
||||||
|
vim.g.loaded_netrw = 1
|
||||||
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
-- set termguicolors to enable highlight groups
|
||||||
|
vim.opt.termguicolors = true
|
||||||
|
-- empty setup using defaults
|
||||||
|
require("nvim-tree").setup()
|
||||||
|
wk.register({
|
||||||
|
t = { "<cmd>NvimTreeFindFileToggle<cr>", "nvim tree" },
|
||||||
|
}, { prefix = "<leader>t", silent = true })
|
||||||
|
|
Loading…
Reference in a new issue