Migrate to lua
This commit is contained in:
parent
52e2648a79
commit
222f2c316b
15 changed files with 291 additions and 321 deletions
16
configs/nvim/lua/plugins/nvim-treesitter.lua
Normal file
16
configs/nvim/lua/plugins/nvim-treesitter.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
local function init()
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = "maintained", -- list of languages
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
rainbow = {
|
||||
enable = true,
|
||||
extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
return {
|
||||
init = init
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue