From 795215c022b417697e050674476802f08d00c8af Mon Sep 17 00:00:00 2001 From: Markus Wein Date: Wed, 7 Aug 2024 10:31:10 +0200 Subject: [PATCH] LazyVim: Expand home directory for easier configuration By using Neovim's `vim.fn.expand`, we can expand the `~` to the current user's home dir, allowing the snippet to be used as-is, without having to change it. --- EDITORS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDITORS.md b/EDITORS.md index 060c212b6..2a3623d25 100644 --- a/EDITORS.md +++ b/EDITORS.md @@ -154,7 +154,7 @@ return { servers = { ruby_lsp = { mason = false, - cmd = { "/Users/username/.asdf/shims/ruby-lsp" }, + cmd = { vim.fn.expand "~/.asdf/shims/ruby-lsp" }, }, }, },