chore(nvim): Add more lang to treesitter

This commit is contained in:
Ahmad Ansori Palembani 2024-04-18 10:17:07 +07:00
parent 13467edd9d
commit 7356d51b6c
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -5,10 +5,15 @@ return {
ensure_installed = {
"c",
"fluent",
"python",
"go",
"gsp",
"hyprlang",
"json5",
"julia",
-- "latex",
"python",
"rust",
"sxhkdrc",
},
highlight = {
@ -32,6 +37,12 @@ return {
},
filetype = "fluent", -- if filetype does not match the parser name
}
vim.filetype.add({
extension = { rasi = "rasi" },
pattern = {
[".*/hypr/.*%.conf"] = "hyprlang",
},
})
require("nvim-treesitter.configs").setup(opts)
end
},