ats-vim/doc/ats.txt

31 lines
1.1 KiB
Text
Raw Normal View History

2017-12-23 15:38:19 -05:00
*ats* ATS environment for vim
2017-12-23 15:36:00 -05:00
=====================================================================
CONTENTS *ATSContents*
1. Usage ............................................. ❘ATSUsage❘
2. Config ........................................... ❘ATSConfig❘
=====================================================================
Section 1: Usage *ATSUsage*
By default, ats-vim provides one command, viz.
:Format *:Format*
2017-12-23 15:38:19 -05:00
Run atsfmt on current file and reload with changes, e.g. >
2017-12-23 15:36:00 -05:00
:Format
<
======================================================================
Section 2: Config *ATSConfig*
----------------------------------------------------------------------
*'g:ats_autoformat'*
Values: 0, 1
Default: 0
When set to 1, the current buffer will be formatted every time it is
2017-12-23 15:38:19 -05:00
written to. >
2017-12-23 15:36:00 -05:00
let g:ats_autoformat='1'
<