https://github.com/vim-jp/autofmt
Text Formatting Plugin
https://github.com/vim-jp/autofmt
Last synced: 6 months ago
JSON representation
Text Formatting Plugin
- Host: GitHub
- URL: https://github.com/vim-jp/autofmt
- Owner: vim-jp
- Created: 2012-10-20T14:57:56.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-06-10T14:04:45.000Z (almost 4 years ago)
- Last Synced: 2025-01-20T10:48:44.098Z (over 1 year ago)
- Language: Vim script
- Homepage:
- Size: 75.2 KB
- Stars: 28
- Watchers: 15
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is a 'formatexpr' plugin.
License:
public domain
Usage:
:set runtimepath+=/path/to/autofmt/
:set formatexpr=autofmt#compat#formatexpr()
Following method can be used:
autofmt#compat#formatexpr(): Vim compatible
autofmt#uax14#formatexpr(): Implementation of UAX #14
autofmt#japanese#formatexpr(): Japanese
See doc/autofmt.txt for more information.