aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-10-25 08:11:26 +0800
committerGuangxiong Lin <[email protected]>2023-10-25 08:11:26 +0800
commit17ee12787812a9b72c6f38d1cd677e6524f8c467 (patch)
treed73d64a297ee13ab9f21a27d6cb70b71bea1523e
parentf7311e2613efd621558cfe7ee267d98e0e02841e (diff)
downloaddotfiles-17ee12787812a9b72c6f38d1cd677e6524f8c467.tar.gz
dotfiles-17ee12787812a9b72c6f38d1cd677e6524f8c467.tar.bz2
dotfiles-17ee12787812a9b72c6f38d1cd677e6524f8c467.zip
Enable dignostics in solargraph
-rw-r--r--.vim/after/plugin/lsp.vim3
1 files changed, 3 insertions, 0 deletions
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