[vim] Add treesitter plugin
Add after config script
This commit is contained in:
parent
eb270c30bf
commit
556d125741
2 changed files with 12 additions and 0 deletions
11
config/nvim/after/plugin/treesitter.lua
Normal file
11
config/nvim/after/plugin/treesitter.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
local treesitter_configs = require 'nvim-treesitter.configs'
|
||||
|
||||
treesitter_configs.setup {
|
||||
ensure_installed = { "lua", "vim", "javascript", "swift" },
|
||||
sync_install = true,
|
||||
auto_install = true,
|
||||
hightlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue