Moved treesitter config: init -> spec file
This commit is contained in:
12
lua/plugins/treesitter.lua
Normal file
12
lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = function()
|
||||
require('nvim-treesitter.install').compilers = {"zig"}
|
||||
end,
|
||||
opts = {
|
||||
highlight = {enable = true},
|
||||
indent = {enable = true}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user