summaryrefslogtreecommitdiff
path: root/users/seth/programs/vim.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-10 20:42:56 -0400
committerseth <[email protected]>2024-05-10 21:30:32 -0400
commit7b524417514f41c2a72ed77958151fb412f5d6e9 (patch)
tree3dccd6d1b234638d01e7c54abecc8f9e679113fc /users/seth/programs/vim.nix
parent641ab65696cefc51d18ca75c53bce5f6ecd496ab (diff)
treewide: remove overlay
don't need it tbh
Diffstat (limited to 'users/seth/programs/vim.nix')
-rw-r--r--users/seth/programs/vim.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/seth/programs/vim.nix b/users/seth/programs/vim.nix
index a67effa..b07b090 100644
--- a/users/seth/programs/vim.nix
+++ b/users/seth/programs/vim.nix
@@ -1,6 +1,7 @@
{
config,
lib,
+ pkgs,
...
}: let
cfg = config.seth.programs.vim;
@@ -13,11 +14,14 @@ in {
config = lib.mkIf cfg.enable {
programs.vim = {
enable = true;
+ packageConfigurable = pkgs.vim;
+
settings = {
expandtab = false;
shiftwidth = 2;
tabstop = 2;
};
+
extraConfig = ''
" https://wiki.archlinux.org/title/XDG_Base_Directory
set runtimepath^=${configHome}/vim