moved treesitter opts to its own spec file

This commit is contained in:
Daveanand Mannie
2024-09-02 17:56:23 -04:00
parent 034956dac6
commit 9d54bbe21c
2 changed files with 9 additions and 12 deletions

View File

@@ -1,8 +1,4 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = { ensure_installed = { "ninja", "rst" } },
},
{
"neovim/nvim-lspconfig",
opts = {

View File

@@ -1,12 +1,13 @@
return {
{
"nvim-treesitter/nvim-treesitter",
build = function()
require('nvim-treesitter.install').compilers = {"zig"}
{
"nvim-treesitter/nvim-treesitter",
build = function()
require("nvim-treesitter.install").compilers = { "zig" }
end,
opts = {
highlight = {enable = true},
indent = {enable = true}
}
}
highlight = { enable = true },
indent = { enable = true },
ensure_installed = { "ninja", "rst"}
},
},
}