🗑️ remove(nvim): dot-extended because redundancy with lazyvim's one
This commit is contained in:
parent
59c18c969a
commit
b9cdcbd333
2 changed files with 1 additions and 36 deletions
|
@ -3,6 +3,7 @@
|
||||||
"lazyvim.plugins.extras.lang.python-semshi",
|
"lazyvim.plugins.extras.lang.python-semshi",
|
||||||
"lazyvim.plugins.extras.lang.yaml",
|
"lazyvim.plugins.extras.lang.yaml",
|
||||||
"lazyvim.plugins.extras.ui.edgy",
|
"lazyvim.plugins.extras.ui.edgy",
|
||||||
|
"lazyvim.plugins.extras.util.dot",
|
||||||
"plugins.extras.coding.ai.codeium",
|
"plugins.extras.coding.ai.codeium",
|
||||||
"plugins.extras.coding.ai.gpt",
|
"plugins.extras.coding.ai.gpt",
|
||||||
"plugins.extras.coding.annotation",
|
"plugins.extras.coding.annotation",
|
||||||
|
@ -94,7 +95,6 @@
|
||||||
"plugins.extras.ui.zen-mode",
|
"plugins.extras.ui.zen-mode",
|
||||||
"plugins.extras.util.bigfile",
|
"plugins.extras.util.bigfile",
|
||||||
"plugins.extras.util.discordrcp",
|
"plugins.extras.util.discordrcp",
|
||||||
"plugins.extras.util.dot-extended",
|
|
||||||
"plugins.extras.util.icon-picker",
|
"plugins.extras.util.icon-picker",
|
||||||
"plugins.extras.util.kitty-scrollback",
|
"plugins.extras.util.kitty-scrollback",
|
||||||
"plugins.extras.util.neovide",
|
"plugins.extras.util.neovide",
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
---@type string
|
|
||||||
local xdg_config = vim.env.XDG_CONFIG_HOME or vim.env.HOME .. "/.config"
|
|
||||||
|
|
||||||
---@param path string
|
|
||||||
local function have(path)
|
|
||||||
return vim.loop.fs_stat(xdg_config .. "/" .. path) ~= nil
|
|
||||||
end
|
|
||||||
|
|
||||||
return {
|
|
||||||
{
|
|
||||||
import = "lazyvim.plugins.extras.util.dot",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"luckasRanarison/tree-sitter-hypr",
|
|
||||||
enabled = false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"luckasRanarison/tree-sitter-hyprlang",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
opts = function(_, opts)
|
|
||||||
if have("hypr") then
|
|
||||||
if type(opts.ensure_installed) == "table" then
|
|
||||||
vim.list_extend(opts.ensure_installed, { "hyprlang" })
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
enabled = function()
|
|
||||||
return have("hypr")
|
|
||||||
end,
|
|
||||||
event = "BufRead */hypr/*.conf",
|
|
||||||
build = ":TSUpdate hyprlang",
|
|
||||||
},
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue