Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
24
.config/nvim/lsp/solargraph.lua
Normal file
24
.config/nvim/lsp/solargraph.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://solargraph.org/
|
||||
---
|
||||
--- solargraph, a language server for Ruby
|
||||
---
|
||||
--- You can install solargraph via gem install.
|
||||
---
|
||||
--- ```sh
|
||||
--- gem install --user-install solargraph
|
||||
--- ```
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'solargraph', 'stdio' },
|
||||
settings = {
|
||||
solargraph = {
|
||||
diagnostics = true,
|
||||
},
|
||||
},
|
||||
init_options = { formatting = true },
|
||||
filetypes = { 'ruby' },
|
||||
root_markers = { 'Gemfile', '.git' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue