dotfiles/dot_config/nvim/after/plugin/treesitter.lua

50 lines
694 B
Lua
Raw Normal View History

2022-07-30 07:17:12 +02:00
require("nvim-treesitter.configs").setup({
2022-10-11 07:40:50 +02:00
auto_install = true,
ignore_install = {
"phpdoc",
},
highlight = {
enable = true,
},
2022-10-17 17:13:31 +02:00
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = 8192,
},
2022-10-11 07:40:50 +02:00
ensure_installed = {
"bash",
"css",
"dockerfile",
"go",
"gomod",
"graphql",
"help",
"hjson",
"html",
"http",
"javascript",
"jsdoc",
"json",
"json5",
"jsonc",
"latex",
"lua",
"make",
"markdown",
"php",
"prisma",
"python",
"regex",
"rust",
"scss",
"sql",
"svelte",
"teal",
"toml",
"tsx",
"typescript",
"vim",
"yaml",
},
2022-07-30 07:17:12 +02:00
})