summary refs log tree commit diff
path: root/configs/plugins.vimrc
diff options
context:
space:
mode:
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' ]
+  \   }
+  \ ]
+