nvim: add config files
This commit is contained in:
14
nvim/lua/plugins/treesitter.lua
Normal file
14
nvim/lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
config = function()
|
||||
local configs = require('nvim-treesitter.configs')
|
||||
|
||||
configs.setup {
|
||||
ensure_installed = { 'c', 'cpp', 'lua', 'vimdoc', 'luadoc', 'vim', 'markdown' },
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = false }
|
||||
}
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user