mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
58 lines
1.1 KiB
Lua
58 lines
1.1 KiB
Lua
return {
|
|
-- A list of parser names
|
|
ensure_installed = {
|
|
"bash",
|
|
"c",
|
|
"cpp",
|
|
"ninja",
|
|
"cmake",
|
|
"dockerfile",
|
|
"make",
|
|
"lua",
|
|
"vim",
|
|
"vimdoc",
|
|
"query",
|
|
"php",
|
|
"phpdoc",
|
|
"blade",
|
|
"go",
|
|
"gomod",
|
|
"gosum",
|
|
"javascript",
|
|
"typescript",
|
|
"css",
|
|
"scss",
|
|
"html",
|
|
"vue",
|
|
"json",
|
|
"jsonc",
|
|
"yaml",
|
|
"toml",
|
|
"xml",
|
|
"glsl",
|
|
"hlsl",
|
|
"markdown",
|
|
"markdown_inline"
|
|
},
|
|
|
|
-- Install parsers synchronously (only applied to `ensure_installed`)
|
|
sync_install = true,
|
|
|
|
-- Automatically install missing parsers when entering buffer
|
|
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
|
|
auto_install = false,
|
|
|
|
highlight = {
|
|
enable = true,
|
|
|
|
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
|
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
|
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
|
-- Instead of true it can also be a list of languages
|
|
additional_vim_regex_highlighting = false,
|
|
},
|
|
|
|
indent = {
|
|
enable = true
|
|
}
|
|
}
|