Skip to content

Commit 72f6641

Browse files
authored
Illustrate how to configure an add-on with nvim-lspconfig (#3192)
1 parent c784a32 commit 72f6641

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

jekyll/editors.markdown

+12
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,18 @@ lspconfig.ruby_lsp.setup({
142142
})
143143
```
144144

145+
To configure an add-on, add the configuration `addonSettings` within `init_options`, for example:
146+
147+
```lua
148+
init_options = {
149+
addonSettings = {
150+
["Ruby LSP Rails"] = {
151+
enablePendingMigrationsPrompt = false,
152+
},
153+
},
154+
},
155+
```
156+
145157
### Mason
146158

147159
You can use [mason.nvim](https://github.com/williamboman/mason.nvim),

0 commit comments

Comments
 (0)