summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2022-05-08 08:23:27 +0200
committerache <ache@ache.one>2022-05-08 08:23:27 +0200
commit009abf1dbd24a99f5c410d46f4f682d3c0343b5a (patch)
tree8b042eda108b90f78445421f08f651ee7eecc2ea
parentConfig color and leader (diff)
Better OCaml & Rust analyzer
-rw-r--r--coc-settings.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/coc-settings.json b/coc-settings.json
index 7bba792..2746405 100644
--- a/coc-settings.json
+++ b/coc-settings.json
@@ -1,5 +1,16 @@
{
+ "diagnostic.displayByAle": true,
"languageserver": {
+ "rust": {
+ "command": "rust-analyzer",
+ "filetypes": ["rust"],
+ "rootPatterns": ["Cargo.toml"]
+ },
+ "ocaml-lsp": {
+ "command": "opam",
+ "args": ["exec", "--", "ocamllsp"],
+ "filetypes": ["ocaml", "reason"]
+ },
"go": {
"command": "gopls",
"rootPatterns": ["go.mod"],