mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-20 18:54:25 +02:00
LunarVim
This commit is contained in:
parent
1853b4f2aa
commit
2cd8c6a21c
53 changed files with 331 additions and 712 deletions
12
lua/lv-treesitter/init.lua
Normal file
12
lua/lv-treesitter/init.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = O.treesitter.ensure_installed, -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||
ignore_install = O.treesitter.ignore_install,
|
||||
highlight = {
|
||||
enable = O.treesitter.highlight.enabled -- false will disable the whole extension
|
||||
},
|
||||
-- indent = {enable = true, disable = {"python", "html", "javascript"}},
|
||||
-- TODO seems to be broken
|
||||
indent = {enable = {"javascriptreact"}},
|
||||
autotag = {enable = true},
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue