diff options
author | Minijackson <minijackson@riseup.net> | 2021-06-15 15:12:56 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-06-15 15:12:56 +0200 |
commit | 20baeeac32f28757d2fa905554f9e887a71e4216 (patch) | |
tree | 1b0b535abab0d63b95caf8dc9d68ea5dba569ecb | |
parent | d9b32ccba42fa584d001b34bd64f1b415fcc8076 (diff) | |
download | nixos-config-reborn-20baeeac32f28757d2fa905554f9e887a71e4216.tar.gz nixos-config-reborn-20baeeac32f28757d2fa905554f9e887a71e4216.zip |
vim: don't wait for VimEnter for executing lua config
This prevented the LSP client to start when opening a file at boot
-rw-r--r-- | common/vim.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/vim.nix b/common/vim.nix index a26b2ec..850eaf3 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 | autocmd VimEnter * lua require("myConfig") | 39 | lua require("myConfig") |
40 | 40 | ||
41 | ${cfg.extraConfig} | 41 | ${cfg.extraConfig} |
42 | ''; | 42 | ''; |