Skip to content

Commit

Permalink
Use XDG_CONFIG_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
evantravers committed Feb 6, 2021
1 parent 16dd817 commit 7bef47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ require'lspconfig'.solargraph.setup({
}
})

local sumneko_root_path = "/users/evantravers/.config/lsp/lua-language-server"
local sumneko_root_path = os.getenv("XDG_CONFIG_HOME") .. "/lsp/lua-language-server"
local sumneko_binary = sumneko_root_path.."/bin/macOS/lua-language-server"

require'lspconfig'.sumneko_lua.setup {
Expand Down

0 comments on commit 7bef47a

Please sign in to comment.