Update all dotfiles

This commit is contained in:
2025-05-22 17:56:05 -05:00
parent 0280a88a7b
commit 4bb042584b
1651 changed files with 60533 additions and 2672 deletions

View File

@ -1,6 +1,38 @@
require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all"
ensure_installed = { "bash", "c", "c_sharp", "cmake", "cpp", "css", "dockerfile", "git_config", "git_rebase", "gitattributes", "gitcommit", "gitignore", "haskell", "html", "java", "javascript", "jq", "json", "kotlin", "lua", "make", "matlab", "php", "python", "rust", "scala", "sql", "svelte", "swift", "typescript", "vimdoc", "yaml", "zig" },
ensure_installed = {
"bash",
"c",
"cmake",
"cpp",
"css",
"dockerfile",
"git_config",
"git_rebase",
"gitattributes",
"gitcommit",
"gitignore",
"haskell",
"html",
"java",
"javascript",
"json",
"kotlin",
"lua",
"make",
"php",
"python",
"rust",
"scala",
"sql",
"svelte",
"swift",
"tsx",
"typescript",
"vimdoc",
"yaml",
"zig"
},
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
@ -9,14 +41,24 @@ require'nvim-treesitter.configs'.setup {
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
auto_install = true,
highlight = {
-- `false` will disable the whole extension
enable = true,
highlight = {
enable = true,
disable = function(lang, buf)
local max_filesize = 80 * 1024 -- 80 KB
if lang == "tsx" then
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > max_filesize then
return true
end
end
end,
-- 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,
--additional_vim_regex_highlighting = true,
additional_vim_regex_highlighting = {"tsx"},
},
}