remove standardrb glue now that mason-lspconfig is updated

Mon, 13 Mar 2023 15:45:24 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 13 Mar 2023 15:45:24 -0500
changeset 1083
cc48b040ddbb
parent 1082
098f661195c1
child 1084
76588dcdb04a

remove standardrb glue now that mason-lspconfig is updated

.config/nvim/lua/config/lsp.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/config/lsp.lua
+++ b/.config/nvim/lua/config/lsp.lua
@@ -52,19 +52,3 @@ vim.api.nvim_create_autocmd("BufWritePre
     end
   end,
 })
-
--- This can be removed when mason-lspconfig gets support for standardrb
-if vim.fn.executable("standardrb") == 1 then
-  vim.api.nvim_create_autocmd("FileType", {
-    pattern = "ruby",
-    group = vim.api.nvim_create_augroup("lsp_ruby", { clear = true }),
-    once = true,
-    callback = function()
-      require("lspconfig").standardrb.setup({
-        autostart = true,
-        single_file_support = true,
-      })
-      vim.cmd.LspStart("standardrb")
-    end,
-  })
-end

mercurial