Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LazyVim: Expand home directory for easier configuration #2413

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

cypher
Copy link
Contributor

@cypher cypher commented Aug 7, 2024

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.

Motivation

This allows the configuration example to be used as-is, without having to remember to change the path after copying it into the nvim config.

Implementation

n/a

Automated Tests

n/a

Manual Tests

n/a

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.
@cypher cypher requested a review from a team as a code owner August 7, 2024 08:32
@cypher cypher requested review from andyw8 and st0012 August 7, 2024 08:32
@cypher
Copy link
Contributor Author

cypher commented Aug 7, 2024

I have signed the CLA!

Copy link
Contributor

@andyw8 andyw8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@andyw8 andyw8 enabled auto-merge (squash) August 7, 2024 14:05
@andyw8 andyw8 added chore Chore task server This pull request should be included in the server gem's release notes labels Aug 7, 2024
@andyw8 andyw8 merged commit 7c4abea into Shopify:main Aug 7, 2024
18 checks passed
@cypher cypher deleted the patch-1 branch August 8, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants