summaryrefslogtreecommitdiff
path: root/coc-settings.json
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-08-09 15:29:19 +0200
committerache <ache@ache.one>2023-08-09 15:35:59 +0200
commit01470a173059ba8cd3840bd1823e388665ba2cc5 (patch)
tree8b6b28bc4843ad19263e761581c10b070455cae9 /coc-settings.json
parentCopilote mapping (diff)
LSP update
Diffstat (limited to 'coc-settings.json')
-rw-r--r--coc-settings.json13
1 files changed, 7 insertions, 6 deletions
diff --git a/coc-settings.json b/coc-settings.json
index 2746405..dc8ed0b 100644
--- a/coc-settings.json
+++ b/coc-settings.json
@@ -1,11 +1,6 @@
{
"diagnostic.displayByAle": true,
"languageserver": {
- "rust": {
- "command": "rust-analyzer",
- "filetypes": ["rust"],
- "rootPatterns": ["Cargo.toml"]
- },
"ocaml-lsp": {
"command": "opam",
"args": ["exec", "--", "ocamllsp"],
@@ -17,5 +12,11 @@
"trace.server": "verbose",
"filetypes": ["go"]
}
- }
+ },
+ "ocaml-lsp": {
+ "command": "opam",
+ "args": ["config", "exec", "--", "ocamllsp"],
+ "filetypes": ["ocaml", "reason"]
+ },
+ "rust-analyzer.server.path": "/usr/bin/rust-analyzer"
}