nvim: go full treesitter
This commit is contained in:
parent
6fb2ec1b35
commit
3df18bf768
2 changed files with 28 additions and 0 deletions
17
nvim.lua/.config/nvim/lua/ts_setup.lua
Normal file
17
nvim.lua/.config/nvim/lua/ts_setup.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
local ts_conf = require('nvim-treesitter.configs')
|
||||
|
||||
ts_conf.setup {
|
||||
ensure_installed = "all",
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
},
|
||||
textobjects = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue