feat(compat): added svim, a compatibility layer for Neovim. Closes #1321

This commit is contained in:
Folke Lemaitre 2025-02-20 06:56:47 +01:00
parent 7d10a38c44
commit bc902f7032
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
37 changed files with 133 additions and 90 deletions

View file

@ -40,7 +40,7 @@ local defaults = {
nerdFontsVersion = "3",
},
},
theme_path = vim.fs.normalize(vim.fn.stdpath("cache") .. "/lazygit-theme.yml"),
theme_path = svim.fs.normalize(vim.fn.stdpath("cache") .. "/lazygit-theme.yml"),
-- Theme for lazygit
-- stylua: ignore
theme = {
@ -89,7 +89,7 @@ local function env(opts)
-- add the default config file if it's not already there
if #config_files == 0 then
config_files[1] = vim.fs.normalize(config_dir .. "/config.yml")
config_files[1] = svim.fs.normalize(config_dir .. "/config.yml")
end
-- add the theme file if it's not already there