nvim-treesitter: format
This commit is contained in:
parent
96af04e40d
commit
1b2784874b
1 changed files with 11 additions and 19 deletions
|
@ -1,24 +1,16 @@
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
init = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
-- A list of parser names, or "all"
|
||||
ensure_installed = {
|
||||
"nix",
|
||||
"lua",
|
||||
"vim",
|
||||
},
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"nix",
|
||||
"lua",
|
||||
"vim",
|
||||
},
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
sync_install = true,
|
||||
auto_install = true,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue