First version
This commit is contained in:
28
lua/plugins/init.lua
Normal file
28
lua/plugins/init.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
-- nvim-treesitter: accurate syntax (your colorscheme maps @highlight groups).
|
||||
-- We pin `master`: the default `main` branch is a rewrite (different API, Nvim 0.12+).
|
||||
return {
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
branch = 'master',
|
||||
lazy = false,
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
'go',
|
||||
'lua',
|
||||
'vim',
|
||||
'vimdoc',
|
||||
'query',
|
||||
},
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
indent = { enable = true },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require('nvim-treesitter.configs').setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user