diff options
| author | Zheng PiaoDan <zhengpiaodan@gmail.com> | 2023-05-18 06:25:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-18 14:25:47 +0800 |
| commit | 27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b (patch) | |
| tree | 8fa3f43e24f29b854b4defaa51424a856a5dee9c /lua | |
| parent | fix(sourcekit): add buildserver.json and compile_commands as root pattern (#2... (diff) | |
| download | nvim-lspconfig-27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b.tar nvim-lspconfig-27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b.tar.gz nvim-lspconfig-27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b.tar.bz2 nvim-lspconfig-27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b.tar.lz nvim-lspconfig-27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b.tar.xz nvim-lspconfig-27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b.tar.zst nvim-lspconfig-27a7e21ec1ce0333b2c2d08e60646c77b73e8b1b.zip | |
fix: ruby lsp features should be opt-out (#2622)
Without the `enabledFeatures` init option, ruby lsp would enable all the
supported features. This change was introduce in https://github.com/Shopify/ruby-lsp/pull/562
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/ruby_ls.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lua/lspconfig/server_configurations/ruby_ls.lua b/lua/lspconfig/server_configurations/ruby_ls.lua index e72e8cb4..ed36a56c 100644 --- a/lua/lspconfig/server_configurations/ruby_ls.lua +++ b/lua/lspconfig/server_configurations/ruby_ls.lua @@ -6,14 +6,6 @@ return { filetypes = { 'ruby' }, root_dir = util.root_pattern('Gemfile', '.git'), init_options = { - enabledFeatures = { - 'codeActions', - 'diagnostics', - 'documentHighlights', - 'documentSymbols', - 'formatting', - 'inlayHint', - }, formatter = 'auto', }, }, |
