fix(dot): remove hyprlang plugin (#2623)

This commit is contained in:
Luckas 2024-03-07 13:33:22 +03:00 committed by GitHub
parent 91126b9896
commit 796112e170
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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