update nvim config and junk

This commit is contained in:
Rahsheen Porter 2024-03-01 14:07:35 -05:00
parent e1aac7d093
commit c3dbc10c80
8 changed files with 96 additions and 14 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
}
}
},
}
}