mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
fix(dot): remove hyprlang plugin (#2623)
This commit is contained in:
parent
91126b9896
commit
796112e170
1 changed files with 5 additions and 26 deletions
|
@ -7,32 +7,6 @@ local function have(path)
|
|||
end
|
||||
|
||||
return {
|
||||
|
||||
-- Add Hyprland Parser
|
||||
{
|
||||
"luckasRanarison/tree-sitter-hyprlang",
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
require("nvim-treesitter.parsers").get_parser_configs().hyprlang = {
|
||||
install_info = {
|
||||
url = "https://github.com/luckasRanarison/tree-sitter-hyprlang",
|
||||
files = { "src/parser.c" },
|
||||
branch = "master",
|
||||
},
|
||||
filetype = "hyprlang",
|
||||
}
|
||||
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
vim.list_extend(opts.ensure_installed, { "hyprlang" })
|
||||
end,
|
||||
},
|
||||
enabled = function()
|
||||
return have("hypr")
|
||||
end,
|
||||
event = "BufRead */hypr/*.conf",
|
||||
},
|
||||
|
||||
-- add some stuff to treesitter
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
|
@ -49,11 +23,16 @@ return {
|
|||
[".*/waybar/config"] = "jsonc",
|
||||
[".*/mako/config"] = "dosini",
|
||||
[".*/kitty/*.conf"] = "bash",
|
||||
[".*/hypr/.*%.conf"] = "hyprlang",
|
||||
},
|
||||
})
|
||||
|
||||
add("git_config")
|
||||
|
||||
if have("hypr") then
|
||||
add("hyprlang")
|
||||
end
|
||||
|
||||
if have("fish") then
|
||||
add("fish")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue