astro-nvim-v3 - change: turn off declare symbols basedpyright

This commit is contained in:
huyjaky
2025-08-10 15:18:07 +07:00
parent df896f0ab4
commit 182ad7856a
27 changed files with 1114 additions and 807 deletions

View File

@@ -2,27 +2,33 @@
---@type LazySpec
return {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ignore_install = { "help" }
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
-- "lua",
-- "c",
-- "cpp",
"python",
-- "javascript",
})
opts.highlight = {
enable = true,
disable = { "c", "rust", "tsx", "javascript" },
additional_vim_regex_highlighting = false,
custom_captures = {
-- Highlight local variables
["variable.local"] = "Identifier",
},
}
{
"nvim-treesitter/nvim-treesitter",
dependencies = {},
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ignore_install = { "help" }
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
-- "lua",
-- "c",
-- "cpp",
"python",
"latex",
"bibtex",
-- "javascript",
})
vim.api.nvim_set_hl(0, "Identifier", { fg = "#55ffff" })
end,
opts.highlight = {
enable = true,
disable = { "c", "rust", "tsx", "javascript" },
additional_vim_regex_highlighting = false,
custom_captures = {
-- Highlight local variables
["variable.local"] = "Identifier",
},
}
vim.api.nvim_set_hl(0, "Identifier", { fg = "#55ffff" })
end,
},
}