2024-11-08 14:20:01 -05:00
|
|
|
{ pkgs, osConfig, ... }:
|
2024-09-21 20:07:40 -04:00
|
|
|
{
|
|
|
|
programs.vim = {
|
|
|
|
enable = true;
|
|
|
|
defaultEditor = true;
|
2024-11-08 14:20:01 -05:00
|
|
|
packageConfigurable = pkgs.vim-full.override {
|
|
|
|
guiSupport = if osConfig.services.displayManager.enable then "gtk3" else "none";
|
|
|
|
};
|
2024-09-21 21:50:25 -04:00
|
|
|
plugins = builtins.attrValues {
|
|
|
|
inherit (pkgs.vimPlugins)
|
|
|
|
vim-sensible
|
|
|
|
vim-fugitive
|
|
|
|
vim-eunuch
|
|
|
|
vim-endwise
|
|
|
|
vim-lsp
|
|
|
|
vim-lsp-settings
|
|
|
|
nerdtree
|
|
|
|
nerdtree-git-plugin
|
|
|
|
vim-devicons
|
|
|
|
editorconfig-vim
|
|
|
|
;
|
|
|
|
};
|
2024-09-21 20:07:40 -04:00
|
|
|
};
|
|
|
|
}
|