rmove autoclose and set treesitter to all
This commit is contained in:
parent
48e108f4c0
commit
e9ef308f5d
@ -289,7 +289,6 @@ return require('packer').startup {
|
|||||||
config = function()
|
config = function()
|
||||||
vim.api.nvim_set_keymap("n", "<leader>t", "<cmd>NvimTreeToggle<cr>", {})
|
vim.api.nvim_set_keymap("n", "<leader>t", "<cmd>NvimTreeToggle<cr>", {})
|
||||||
require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
auto_close = true,
|
|
||||||
update_focused_file = {
|
update_focused_file = {
|
||||||
enable = true,
|
enable = true,
|
||||||
},
|
},
|
||||||
@ -340,14 +339,14 @@ return require('packer').startup {
|
|||||||
fast_wrap= {},
|
fast_wrap= {},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
use({
|
use({
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
run = ':TSUpdate',
|
run = ':TSUpdate',
|
||||||
config = function()
|
config = function()
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
ensure_installed = "maintained",
|
ensure_installed = "all",
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true
|
enable = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user