From 17ee12787812a9b72c6f38d1cd677e6524f8c467 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 25 Oct 2023 08:11:26 +0800 Subject: Enable dignostics in solargraph --- .vim/after/plugin/lsp.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim index 0060414..def2978 100644 --- a/.vim/after/plugin/lsp.vim +++ b/.vim/after/plugin/lsp.vim @@ -63,6 +63,9 @@ if executable('solargraph') au User lsp_setup call lsp#register_server({ \ 'name': 'solargraph', \ 'cmd': {server_info->['solargraph', 'stdio']}, + \ 'initialization_options': { + \ 'diagnostics': 'true' + \ }, \ 'allowlist': ['ruby'], \ }) endif -- cgit v1.2.3