moved treesitter opts to its own spec file
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = { ensure_installed = { "ninja", "rst" } },
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
|
||||
@@ -2,11 +2,12 @@ return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = function()
|
||||
require('nvim-treesitter.install').compilers = {"zig"}
|
||||
require("nvim-treesitter.install").compilers = { "zig" }
|
||||
end,
|
||||
opts = {
|
||||
highlight = {enable = true},
|
||||
indent = {enable = true}
|
||||
}
|
||||
}
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
ensure_installed = { "ninja", "rst"}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user