summary refs log tree commit diff
path: root/configs/plugins.vimrc
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-11-16 04:22:20 +0100
committerMel <einebeere@gmail.com>2024-11-16 04:22:20 +0100
commit7e6bf85c03fa009a3677e008c0f2a563a28f7983 (patch)
tree75e9de4308547985feec107c591374edde0b0867 /configs/plugins.vimrc
parentb620dbdf8747e888c86e25237fbd736e7f443069 (diff)
downloadnetwork-7e6bf85c03fa009a3677e008c0f2a563a28f7983.tar.zst
network-7e6bf85c03fa009a3677e008c0f2a563a28f7983.zip
Bring in advanced Vim configuration from desktop
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'configs/plugins.vimrc')
-rw-r--r--configs/plugins.vimrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/plugins.vimrc b/configs/plugins.vimrc
new file mode 100644
index 0000000..92d499d
--- /dev/null
+++ b/configs/plugins.vimrc
@@ -0,0 +1,16 @@
+" VIM PLUGIN SETTINGS
+
+" YOUCOMPLETEME:
+
+let g:ycm_extra_conf_globlist = ['/nix/store/*']
+let g:ycm_global_ycm_extra_conf = '@ycm_extra_conf@'
+
+let g:ycm_language_server =
+  \ [
+  \   {
+  \     'name': 'nix',
+  \     'cmdline': [ '/run/current-system/sw/bin/nil', '--stdio' ],
+  \     'filetypes': [ 'nix' ]
+  \   }
+  \ ]
+