diff options
author | Minijackson <minijackson@riseup.net> | 2025-04-16 19:49:51 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2025-04-16 19:50:26 +0200 |
commit | 33cbc9ddcb813471fd189770dacbc8e623a45b0c (patch) | |
tree | 7b67e3a6c5bb86ffb9ff972ed9d48349990f0b03 /common/nixvim.nix | |
parent | 04fb4a7ed2bcc04ea84750522074c654cbf34686 (diff) | |
download | nixos-config-reborn-33cbc9ddcb813471fd189770dacbc8e623a45b0c.tar.gz nixos-config-reborn-33cbc9ddcb813471fd189770dacbc8e623a45b0c.zip |
nixvim: add popup & preinsert to completeopt
This is to have the description in LSP completions
Diffstat (limited to 'common/nixvim.nix')
-rw-r--r-- | common/nixvim.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/nixvim.nix b/common/nixvim.nix index 8d63f37..d86a923 100644 --- a/common/nixvim.nix +++ b/common/nixvim.nix | |||
@@ -23,10 +23,11 @@ inputs: | |||
23 | # Use `//` at the end to store the absolute file name | 23 | # Use `//` at the end to store the absolute file name |
24 | backupdir.__raw = "vim.fn.stdpath('data') .. '/backup//'"; | 24 | backupdir.__raw = "vim.fn.stdpath('data') .. '/backup//'"; |
25 | completeopt = [ | 25 | completeopt = [ |
26 | "menu" | ||
27 | "menuone" | 26 | "menuone" |
28 | "noinsert" | 27 | "noinsert" |
29 | "noselect" | 28 | "noselect" |
29 | "popup" | ||
30 | "preinsert" | ||
30 | ]; | 31 | ]; |
31 | cursorline = true; | 32 | cursorline = true; |
32 | diffopt = [ | 33 | diffopt = [ |