Add HyprLand Treesitter config
This commit is contained in:
parent
0df578a987
commit
c783887d3c
|
@ -16,6 +16,7 @@ require('lazy').setup({
|
|||
'ConradIrwin/vim-bracketed-paste',
|
||||
'airblade/vim-rooter',
|
||||
'nuchs/vim-hypr-nav',
|
||||
'luckasRanarison/tree-sitter-hypr',
|
||||
'debugloop/telescope-undo.nvim',
|
||||
'mhartington/formatter.nvim',
|
||||
{'vimwiki/vimwiki', init = function ()
|
||||
|
|
|
@ -24,3 +24,13 @@ treesitter.setup({
|
|||
},
|
||||
additional_vim_regex_highlighting = false,
|
||||
})
|
||||
|
||||
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",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue