mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-30 07:34:32 +02:00
Support different config paths (#426)
This makes the configuration files work if neovim's config path is different from `~/.config/nvim`.
This commit is contained in:
parent
046d3e79a9
commit
74ffae99d4
7 changed files with 12 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
-- If you are using rvm, make sure to change below configuration
|
||||
require'lspconfig'.solargraph.setup {
|
||||
cmd = { DATA_PATH .. "~/.rbenv/shims/solargraph", "--stdio" },
|
||||
cmd = { DATA_PATH .. "/lspinstall/ruby/solargraph/solargraph", "--stdio" },
|
||||
on_attach = require'lsp'.common_on_attach,
|
||||
handlers = {
|
||||
["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue