recovering custom nvim configs

This commit is contained in:
Rahsheen Porter 2024-03-03 11:26:12 -05:00
parent 0622ef41cd
commit ebb0a5aeed
11 changed files with 340 additions and 5 deletions

View file

@ -0,0 +1,22 @@
local lsp = require 'lspconfig'
lsp.solargraph.setup {
cmd = { os.getenv("HOME") .. "/.asdf/shims/solargraph", '--stdio' },
filetypes = { "ruby", "rakefile" },
settings = {
solargraph = {
-- root_dir = nvim_lsp.util.root_pattern("Gemfile", ".git", "."),
-- root_dir = root_pattern("Gemfile", ".git"),
settings = {
solargraph = {
autoformat = true,
completion = true,
diagnostic = true,
folding = true,
references = true,
rename = true,
symbols = true
}
}
},
}
}