fix(hypr): automatically update/install hypr treesitter parser when needed
This commit is contained in:
@ -13,6 +13,7 @@ return {
|
||||
"luckasRanarison/tree-sitter-hypr",
|
||||
enabled = have("hypr"),
|
||||
event = "BufRead */hypr/*.conf",
|
||||
build = ":TSUpdate hypr",
|
||||
config = function()
|
||||
-- Fix ft detection for hyprland
|
||||
vim.filetype.add({
|
||||
|
@ -34,7 +34,7 @@ return {
|
||||
end,
|
||||
},
|
||||
},
|
||||
cmd = { "TSUpdateSync" },
|
||||
cmd = { "TSUpdateSync", "TSUdate", "TSIntsall" },
|
||||
keys = {
|
||||
{ "<c-space>", desc = "Increment selection" },
|
||||
{ "<bs>", desc = "Decrement selection", mode = "x" },
|
||||
|
Reference in New Issue
Block a user