summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/vim.nix2
-rw-r--r--dotfiles/vim.lua3
2 files changed, 2 insertions, 3 deletions
diff --git a/common/vim.nix b/common/vim.nix
index ced8f81..63b916e 100644
--- a/common/vim.nix
+++ b/common/vim.nix
@@ -36,7 +36,7 @@ let
36 inherit (config.vim) beforePlugins; 36 inherit (config.vim) beforePlugins;
37 37
38 customRC = '' 38 customRC = ''
39 lua require("myConfig") 39 autocmd VimEnter * lua require("myConfig")
40 40
41 ${cfg.extraConfig} 41 ${cfg.extraConfig}
42 ''; 42 '';
diff --git a/dotfiles/vim.lua b/dotfiles/vim.lua
index ca346f8..84e4a7f 100644
--- a/dotfiles/vim.lua
+++ b/dotfiles/vim.lua
@@ -14,8 +14,7 @@ vim.o.smartcase = true
14 14
15vim.o.smartindent = true 15vim.o.smartindent = true
16 16
17vim.o.tabstop = 4 17-- tabstop and shiftwidth are set locally by individual filetypes
18vim.o.shiftwidth = 4
19 18
20vim.o.inccommand = "split" 19vim.o.inccommand = "split"
21 20