about summary refs log tree commit diff
path: root/pkgs/devhell
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2021-06-30 14:14:56 +0100
committerdevhell <devhell@mailfresser.de>2021-06-30 14:17:44 +0100
commit3447efe68cfcdeae756481dd622b75f7adf4e666 (patch)
treeb2956554a7365dbd87b417377c54daf4b1168261 /pkgs/devhell
parentc54efe2791855a02220d52b4871df5556425b375 (diff)
pkgs/vim: Add mucomplete plugin
I've been looking for a good, lightweight, and fast completion engine
that also has little or no dependencies. The `mucomplete` plugin seems
to fit the bill as I also don't have any fancy requirements.
Diffstat (limited to 'pkgs/devhell')
-rw-r--r--pkgs/devhell/vim/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/devhell/vim/default.nix b/pkgs/devhell/vim/default.nix
index aeea397c..b2733294 100644
--- a/pkgs/devhell/vim/default.nix
+++ b/pkgs/devhell/vim/default.nix
@@ -18,6 +18,7 @@ pkgs.vim_configurable.overrideAttrs (drv: {
         vim-better-whitespace
         vim-lastplace
         vim-nix
+        vim-mucomplete
         vim-signify
         vim-toml
         colorizer
@@ -51,6 +52,12 @@ pkgs.vim_configurable.overrideAttrs (drv: {
       filetype plugin indent on
       colorscheme tender
 
+      " mucomplete Settings
+      set completeopt+=menuone
+      set completeopt+=noinsert
+      set shortmess+=c
+      set belloff+=ctrlg
+
       " signify Settings
       set updatetime=100