mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 18:59:00 +02:00
fix(dot): treesitter for hypr was renamed to hyprlang
This commit is contained in:
parent
879e29504d
commit
979bb952a6
1 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ return {
|
|||
|
||||
-- Add Hyprland Parser
|
||||
{
|
||||
"luckasRanarison/tree-sitter-hypr",
|
||||
"luckasRanarison/tree-sitter-hyprlang",
|
||||
enabled = function()
|
||||
return have("hypr")
|
||||
end,
|
||||
|
@ -19,11 +19,11 @@ return {
|
|||
config = function()
|
||||
-- Fix ft detection for hyprland
|
||||
vim.filetype.add({
|
||||
pattern = { [".*/hypr/.*%.conf"] = "hypr" },
|
||||
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
|
||||
})
|
||||
require("nvim-treesitter.parsers").get_parser_configs().hypr = {
|
||||
require("nvim-treesitter.parsers").get_parser_configs().hyprlang = {
|
||||
install_info = {
|
||||
url = "https://github.com/luckasRanarison/tree-sitter-hypr",
|
||||
url = "https://github.com/luckasRanarison/tree-sitter-hyprlang",
|
||||
files = { "src/parser.c" },
|
||||
branch = "master",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue