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 { return {
{
"nvim-treesitter/nvim-treesitter",
opts = { ensure_installed = { "ninja", "rst" } },
},
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {

View File

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