diff --git a/lua/configs/plugin/nvim-treesitter.lua b/lua/configs/plugin/nvim-treesitter.lua index b4696f1..e4583e9 100644 --- a/lua/configs/plugin/nvim-treesitter.lua +++ b/lua/configs/plugin/nvim-treesitter.lua @@ -136,3 +136,14 @@ treesitter.setup(opts) -- enable Folding module vim.opt.foldmethod = "expr" vim.opt.foldexpr = "nvim_treesitter#foldexpr()" + +-- extra treesitter +local parser_config = require("nvim-treesitter.parsers").get_parser_configs() +parser_config.hypr = { + install_info = { + url = "https://github.com/luckasRanarison/tree-sitter-hypr", + files = { "src/parser.c" }, + branch = "master", + }, + filetype = "hypr", +}