initial commit

This commit is contained in:
xesc 2023-12-09 15:46:50 +01:00
commit 48bd259cd8
29 changed files with 1107 additions and 0 deletions

32
lua/plugin/treesitter.lua Normal file
View 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,
}
}