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 {
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
init = function()
|
opts = {
|
||||||
require("nvim-treesitter.configs").setup({
|
|
||||||
-- A list of parser names, or "all"
|
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"nix",
|
"nix",
|
||||||
"lua",
|
"lua",
|
||||||
"vim",
|
"vim",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
sync_install = true,
|
||||||
sync_install = false,
|
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = {
|
highlight = { enable = true },
|
||||||
enable = true,
|
indent = { enable = true },
|
||||||
},
|
},
|
||||||
indent = {
|
|
||||||
enable = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue