2023-04-14 13:17:54 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
output.plugins =
|
|
|
|
if config.isDesktop
|
|
|
|
then with pkgs.vimPlugins; [firenvim]
|
|
|
|
else [];
|
|
|
|
output.extraConfig =
|
|
|
|
if config.isDesktop
|
|
|
|
then ''
|
|
|
|
silent call firenvim#install(0)
|
2023-04-15 09:46:24 +00:00
|
|
|
lua << EOF
|
2023-04-15 09:31:24 +00:00
|
|
|
if vim.g.started_by_firenvim then
|
|
|
|
vim.o.showtabline = 0
|
|
|
|
require("lualine").hide()
|
|
|
|
end
|
2023-04-15 09:46:24 +00:00
|
|
|
EOF
|
2023-04-14 13:17:54 +00:00
|
|
|
''
|
|
|
|
else "";
|
2023-04-15 09:26:05 +00:00
|
|
|
vim.opt.guifont = "Fira_Code_Mono_Nerd_Font_Mono:h9";
|
2023-04-14 13:17:54 +00:00
|
|
|
}
|