command
module
Version:
v0.0.0-...-708bde1
Opens a new window with list of versions in this module.
Published: Aug 24, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
YAMLfmt
yamlfmt is a little Go binary that reads YAML from file(s) or standard input, formats it and then
writes it to standard output.
Use in Editors
Vim
Use the following configuration in Vim, to create a "Fmt" command that formats your YAML.
au FileType yaml command! Fmt call YamlFmt(120)
let yaml_fmt = "yamlfmt /dev/stdin"
au FileType yaml let &l:formatprg=yaml_fmt
Documentation
¶
yamlfmt formats YAML. It reads from standard input or any files given on the command line.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.