initial commit
This commit is contained in:
commit
48bd259cd8
29 changed files with 1107 additions and 0 deletions
32
lua/plugin/treesitter.lua
Normal file
32
lua/plugin/treesitter.lua
Normal file
|
@ -0,0 +1,32 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
version = false,
|
||||
build = ":TSUpdate",
|
||||
-- event = "BufReadPre",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"lua",
|
||||
"rust",
|
||||
"latex",
|
||||
"bibtex",
|
||||
"python",
|
||||
"vim",
|
||||
"yaml",
|
||||
"json",
|
||||
},
|
||||
sync_install = false,
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = {
|
||||
"markdown",
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("nvim-treesitter.configs").setup(opts)
|
||||
end,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue