astro-nvim-3 - template config tree-sitter

This commit is contained in:
huyjaky
2024-07-26 09:07:55 +07:00
parent 9658ef493a
commit 2aad587ec5
2 changed files with 27 additions and 17 deletions

View File

@@ -12,5 +12,15 @@ return {
"python",
-- "javascript",
})
opts.highlight = {
enable = true,
additional_vim_regex_highlighting = false,
custom_captures = {
-- Highlight local variables
["variable.local"] = "Identifier",
},
}
vim.api.nvim_set_hl(0, "Identifier", { fg = "#55ffff" })
end,
}