mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-25 18:28:50 +02:00
fix(hypr): automatically update/install hypr treesitter parser when needed
This commit is contained in:
parent
23a0004a86
commit
88d465c3ef
2 changed files with 2 additions and 1 deletions
|
@ -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" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue