Add ruby lsp

pull/1465/head
Karolis Arbačiauskas 6 months ago
parent 9640118aa7
commit 3e1893ba65

@ -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