Merge pull request #1 from karolis-arbaciauskas/feature/add-ruby

Add ruby lsp
pull/1465/head
Karolis 4 months ago committed by GitHub
commit c94a071825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -656,6 +656,8 @@ require('lazy').setup({
directoryFilters = { '-.git', '-.vscode', '-.idea', '-.vscode-test', '-node_modules' }, directoryFilters = { '-.git', '-.vscode', '-.idea', '-.vscode-test', '-node_modules' },
semanticTokens = true, semanticTokens = true,
}, },
ruby_lsp = {},
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@ -959,6 +961,7 @@ require('lazy').setup({
'markdown', 'markdown',
'markdown_inline', 'markdown_inline',
'query', 'query',
'ruby',
'yaml', 'yaml',
'vim', 'vim',
'vimdoc', 'vimdoc',

@ -27,6 +27,7 @@ return {
-- Add your own debuggers here -- Add your own debuggers here
'leoluz/nvim-dap-go', 'leoluz/nvim-dap-go',
'suketa/nvim-dap-ruby',
}, },
keys = { keys = {
-- Basic debugging keymaps, feel free to change to your liking! -- Basic debugging keymaps, feel free to change to your liking!
@ -148,5 +149,8 @@ return {
detached = vim.fn.has 'win32' == 0, detached = vim.fn.has 'win32' == 0,
}, },
} }
-- Install ruby specific config
require('dap-ruby').setup()
end, end,
} }

Loading…
Cancel
Save