]> Untitled Git - vimfiles.git/commitdiff
LanguageClient settings
authorPhilippe Hürlimann <p@hurlimann.org>
Thu, 7 Nov 2019 20:28:59 +0000 (21:28 +0100)
committerPhilippe Hürlimann <p@hurlimann.org>
Thu, 7 Nov 2019 20:28:59 +0000 (21:28 +0100)
init.vim
settings.json [new file with mode: 0644]

index 076eedc7a72e66c894d9ec868640df184c04110b..75ec2443a4d17e300ded36fcb7b3e73d17cc943a 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -54,10 +54,13 @@ set laststatus=2
 
 set hidden
 
+let g:LanguageClient_settingsPath = expand('~/.config/nvim/settings.json')
 let g:LanguageClient_serverCommands = {
     \ 'c': ['ccls', '--log-file=/tmp/cc.log'],
-    \ 'haskell': ['hie-wrapper'],
-    \ 'python': ['pyls'],
+    \ 'cpp': ['ccls', '--log-file=/tmp/cc.log'],
+    \ 'java': ['jdtls'],
+    \ 'haskell': ['hie-wrapper', '-d', '-l', '/tmp/hie.log'],
+    \ 'python': ['pyls', '-v', '--log-file','/tmp/pyls.log'],
     \ 'rust': ['rustup', 'run', 'stable', 'rls'],
     \}
 
diff --git a/settings.json b/settings.json
new file mode 100644 (file)
index 0000000..9d1e13b
--- /dev/null
@@ -0,0 +1,16 @@
+{
+  "pyls": {
+    "plugins": {
+      "pyflakes": {
+        "enabled": false
+      },
+      "pydocstyle": {
+        "enabled": false
+      },
+      "pylint": {
+        "enabled": false
+      }
+    }
+  },
+  "languageServerHaskell": {}
+}