Initial commit
This commit is contained in:
37
lua/plugins/treesitter.lua
Normal file
37
lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
event = { "BufReadPost", "BufNewFile" },
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {
|
||||
"lua",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"hyprlang",
|
||||
"nginx",
|
||||
"yaml",
|
||||
"bash",
|
||||
"toml",
|
||||
"regex",
|
||||
"comment",
|
||||
"json",
|
||||
"html",
|
||||
"xml",
|
||||
"css",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"tsx",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"sql",
|
||||
"graphql",
|
||||
"go",
|
||||
"rust",
|
||||
},
|
||||
auto_install = true,
|
||||
highlight = { enable = true},
|
||||
indent = { enable = true},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user