diff options
| author | Marcelo <setanta@gmail.com> | 2025-03-30 04:26:45 -0300 |
|---|---|---|
| committer | Marcelo <setanta@gmail.com> | 2025-04-04 00:10:23 -0300 |
| commit | 43af656a9e1325e76c69e6f5e694214156c278f1 (patch) | |
| tree | 9c44dbd5842107b662bd5795d238ace98677e648 /lsp/ruby.lua | |
| parent | 7eec86e74ffb085d48da574b02af12bce3f73d93 (diff) | |
Replace nvim-lspconfig and blink completion with NVIM 0.11 native options.
Diffstat (limited to 'lsp/ruby.lua')
| -rw-r--r-- | lsp/ruby.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lsp/ruby.lua b/lsp/ruby.lua new file mode 100644 index 0000000..07c64a5 --- /dev/null +++ b/lsp/ruby.lua @@ -0,0 +1,14 @@ +return { + cmd = { + vim.fn.expand("~/.local/share/nvim/mason/bin/solargraph"), + "stdio", + }, + filetypes = { "ruby" }, + root_markers = { "Gemfile", ".git" }, + init_options = { formatting = true }, + settings = { + solargraph = { + diagnostics = true, + }, + }, +} |
