diff options
author | Guangxiong Lin <[email protected]> | 2023-10-25 08:11:26 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-10-25 08:11:26 +0800 |
commit | 17ee12787812a9b72c6f38d1cd677e6524f8c467 (patch) | |
tree | d73d64a297ee13ab9f21a27d6cb70b71bea1523e | |
parent | f7311e2613efd621558cfe7ee267d98e0e02841e (diff) | |
download | dotfiles-17ee12787812a9b72c6f38d1cd677e6524f8c467.tar.gz dotfiles-17ee12787812a9b72c6f38d1cd677e6524f8c467.tar.bz2 dotfiles-17ee12787812a9b72c6f38d1cd677e6524f8c467.zip |
Enable dignostics in solargraph
-rw-r--r-- | .vim/after/plugin/lsp.vim | 3 |
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 |