Skip to content

Commit

Permalink
refactor(lsp): expand runtime env var directly
Browse files Browse the repository at this point in the history
  • Loading branch information
levouh committed Mar 16, 2023
1 parent e775ae2 commit aad2a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/lua/vim/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ function lsp.start_client(config)
return false
end

return vim.startswith(vim.fn.expand(scriptname), vim.fn.expand(vim.fn.getenv('VIMRUNTIME')))
return vim.startswith(vim.fn.expand(scriptname), vim.fn.expand('VIMRUNTIME'))
end

---@private
Expand Down

0 comments on commit aad2a69

Please sign in to comment.