Skip to content

Commit

Permalink
chore: tweak README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoshihou514 authored Sep 4, 2023
1 parent c62e655 commit ebcff7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ require('guard').setup({
})
```

- Use `GuardFmt` to manually call format, when there is a visual selection only the selection is formatted. **NOTE**: Regional formatting just sends your selection to the formatter, if there's not enough context there may be incoherent formatting (e.g. indent being erased)
- Use `GuardFmt` to manually call format, when there is a visual selection only the selection is formatted. **NOTE**: Regional formatting just sends your selection to the formatter, if there's not enough context incoherent formatting might occur (e.g. indent being erased)
- `GuardDisable` disables auto format for the current buffer, you can also `GuardDisable 16` (the buffer number)
- Use `GuardEnable` to re-enable auto format, usage is the same as `GuardDisable`

Expand Down

0 comments on commit ebcff7d

Please sign in to comment.