Skip to content

Commit

Permalink
Add hyprland config tree sitter
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalDevil committed Oct 12, 2023
1 parent 41d0338 commit 3b0a0cd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lua/configs/plugin/nvim-treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}

0 comments on commit 3b0a0cd

Please sign in to comment.