init.lua/after/plugin/treesitter.lua

34 lines
535 B
Lua
Raw Normal View History

2024-02-11 14:02:36 +05:30
require("nvim-treesitter.configs").setup({
2024-02-10 22:51:14 +05:30
ensure_installed = {
"bash",
"diff",
"dockerfile",
"git_config",
"git_rebase",
"gitattributes",
"gitcommit",
"gitignore",
"go",
"gomod",
"gosum",
"json",
"markdown",
"markdown_inline",
"nix",
"lua",
"toml",
"vim",
"vimdoc",
-- "yaml" Not compiling for some reason?
},
sync_install = false,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
2024-02-11 14:02:36 +05:30
})