moved treesitter opts to its own spec file
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
return {
|
return {
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
opts = { ensure_installed = { "ninja", "rst" } },
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
|
|||||||
@@ -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"}
|
||||||
}
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user