diff --git a/init.lua b/init.lua index 7763a2ab..a9bbee53 100644 --- a/init.lua +++ b/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', diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 9e15a521..9c1d324b 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -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, }