dotfiles/dot_config/nvim/lua/config/treesitter.lua

66 lines
792 B
Lua
Raw Normal View History

2022-07-30 07:17:12 +02:00
require("nvim-treesitter.configs").setup({
auto_install = true,
ignore_install = {
-- woulnd't install sometimes, not needed
"phpdoc",
},
highlight = {
enable = true,
},
ensure_installed = {
"bash",
"c",
"cmake",
"comment",
"cpp",
"css",
"dockerfile",
"fish",
"gdscript",
"glsl",
"go",
"godot_resource",
"gomod",
"gowork",
"graphql",
"help",
"hjson",
"html",
"http",
"java",
"javascript",
"jsdoc",
"json",
"json5",
"jsonc",
"kotlin",
"latex",
"lua",
"make",
"markdown",
"ninja",
"perl",
"php",
"prisma",
"proto",
"pug",
"python",
"rasi",
"regex",
"ruby",
"rust",
"scss",
"sql",
"svelte",
"swift",
"teal",
"todotxt",
"toml",
"tsx",
"typescript",
"vim",
"vue",
"yaml",
},
})