Skip to content

Commit

Permalink
LazyVim: Expand home directory for easier configuration
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cypher authored Aug 7, 2024
1 parent a13ef69 commit 795215c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EDITORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
},
},
},
Expand Down

0 comments on commit 795215c

Please sign in to comment.