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

feat(vim): autoformat files #112

Merged
merged 3 commits into from
Jan 24, 2025
Merged

feat(vim): autoformat files #112

merged 3 commits into from
Jan 24, 2025

Conversation

kirillmorozov
Copy link
Owner

@kirillmorozov kirillmorozov commented Dec 29, 2024

Add a function (inspired by this blog post) that formats the whole file and a Fmt command to call this function as well as an auto command to run this function before writing the buffer.

Add a command that formats the whole file.

Taken from: https://phelipetls.github.io/posts/code-formatting-vim/
@kirillmorozov kirillmorozov force-pushed the feat/vim/format-command branch from 058e6c7 to 494104e Compare January 8, 2025 20:42
@kirillmorozov kirillmorozov changed the title feat(vim): add Fmt command feat(vim): autoformat files Jan 24, 2025
@kirillmorozov kirillmorozov marked this pull request as ready for review January 24, 2025 18:04
@kirillmorozov kirillmorozov merged commit f36f6e0 into main Jan 24, 2025
2 checks passed
@kirillmorozov kirillmorozov deleted the feat/vim/format-command branch January 24, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant