summaryrefslogtreecommitdiff
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
parentCopilote mapping (diff)
LSP update
-rw-r--r--coc-settings.json13
-rwxr-xr-xplugin/syntax.vim2
2 files changed, 8 insertions, 7 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"
}
diff --git a/plugin/syntax.vim b/plugin/syntax.vim
index d679622..02b9c72 100755
--- a/plugin/syntax.vim
+++ b/plugin/syntax.vim
@@ -12,4 +12,4 @@ let g:syntastic_cpp_compiler_options = "-std=cpp11"
let xml_fold=1
let sh_fold=1
-set synmaxcol=250
+set synmaxcol=500