Skip to content

allow toggling the fmt_on_save feature per session#12

Open
r10r wants to merge 1 commit into
z0mbix:masterfrom
r10r:master
Open

allow toggling the fmt_on_save feature per session#12
r10r wants to merge 1 commit into
z0mbix:masterfrom
r10r:master

Conversation

@r10r

@r10r r10r commented Apr 5, 2022

Copy link
Copy Markdown

Evaluate the g:shfmt_fmt_on_save variable when the autocmd is triggered.

To disable auto-save in the current session run:

:let g:shfmt_fmt_on_save = 0

To enable auto-save in the current session run:

:let g:shfmt_fmt_on_save = 1

Evaluate the g:shfmt_fmt_on_save variable when the autocmd is triggered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant