Merge pull request #1 from karolis-arbaciauskas/feature/add-ruby
Add ruby lsp
This commit is contained in:
commit
c94a071825
3
init.lua
3
init.lua
|
@ -656,6 +656,8 @@ require('lazy').setup({
|
|||
directoryFilters = { '-.git', '-.vscode', '-.idea', '-.vscode-test', '-node_modules' },
|
||||
semanticTokens = true,
|
||||
},
|
||||
ruby_lsp = {},
|
||||
|
||||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||
|
@ -959,6 +961,7 @@ require('lazy').setup({
|
|||
'markdown',
|
||||
'markdown_inline',
|
||||
'query',
|
||||
'ruby',
|
||||
'yaml',
|
||||
'vim',
|
||||
'vimdoc',
|
||||
|
|
|
@ -27,6 +27,7 @@ return {
|
|||
|
||||
-- Add your own debuggers here
|
||||
'leoluz/nvim-dap-go',
|
||||
'suketa/nvim-dap-ruby',
|
||||
},
|
||||
keys = {
|
||||
-- Basic debugging keymaps, feel free to change to your liking!
|
||||
|
@ -148,5 +149,8 @@ return {
|
|||
detached = vim.fn.has 'win32' == 0,
|
||||
},
|
||||
}
|
||||
|
||||
-- Install ruby specific config
|
||||
require('dap-ruby').setup()
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue