Skip to content

Commit

Permalink
Add some more detail for LazyVim config (#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 authored Aug 1, 2024
1 parent 5d9e12c commit 240d7ed
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions EDITORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,25 @@ require("lspconfig").ruby_lsp.setup({

## LazyVim LSP

[As of v12.33.0](https://github.com/LazyVim/LazyVim/pull/3652), Ruby LSP is the default LSP for Ruby and no configuration should be needed, other
than ensuring your Ruby version manager is set up as described above.
[As of v12.33.0](https://github.com/LazyVim/LazyVim/pull/3652), Ruby LSP is the default LSP for Ruby.

To ensure the correct Ruby version is selected, we recommend disabling the `mason` option and specifying the
appropriate command for your Ruby version manager as an absolute path. For example:

```lua
return {
{
"neovim/nvim-lspconfig",
servers = {
ruby_lsp = {
mason = false,
cmd = { "/Users/username/.asdf/shims/ruby-lsp" },
},
},
},
},
}
```

## Sublime Text LSP

Expand Down

0 comments on commit 240d7ed

Please sign in to comment.