From 01470a173059ba8cd3840bd1823e388665ba2cc5 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 9 Aug 2023 15:29:19 +0200 Subject: LSP update --- coc-settings.json | 13 +++++++------ plugin/syntax.vim | 2 +- 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 -- cgit v1.2.3