update config to lazy
- add some new plugins - remove some old ones - clean up/update some configs
This commit is contained in:
46
lua/plugins/treesitter.lua
Normal file
46
lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,46 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"lua",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"query",
|
||||
"cpp",
|
||||
"python",
|
||||
"bash",
|
||||
"sql",
|
||||
"yaml",
|
||||
"toml",
|
||||
"dockerfile",
|
||||
"gitcommit",
|
||||
"gitignore",
|
||||
"html",
|
||||
"css",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"rust",
|
||||
"go",
|
||||
"json",
|
||||
"regex",
|
||||
"latex",
|
||||
"comment",
|
||||
"cmake",
|
||||
"graphql",
|
||||
"haskell",
|
||||
"java",
|
||||
"php",
|
||||
"ruby",
|
||||
"vue",
|
||||
},
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user