diff options
| author | Zaven Muradyan <zaven@skepsi.me> | 2017-10-15 06:09:28 -0700 |
|---|---|---|
| committer | Sergey Tikhomirov <sergey@tikhomirov.io> | 2017-10-15 16:09:28 +0300 |
| commit | 697eca9784ffac39308e1fd45e0300582c3d060b (patch) | |
| tree | e019679a2fafbccd3b284ebbe31b19cf73fd5832 | |
| parent | 8758243e5edda31846d45c97358814355666a405 (diff) | |
| download | vim-glsl-697eca9784ffac39308e1fd45e0300582c3d060b.tar.gz vim-glsl-697eca9784ffac39308e1fd45e0300582c3d060b.zip | |
Enable auto-format of multiline comments (#15)
This adds the `r`, `o`, and `q` format options which allow automatic insertion of the comment leader character in multiline comments. See `:help fo-table` for details on these options (they're all related to wrapping/leader-insertion for multiline comments).
| -rw-r--r-- | indent/glsl.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indent/glsl.vim b/indent/glsl.vim index a3cba2b..f9c39f0 100644 --- a/indent/glsl.vim +++ b/indent/glsl.vim @@ -6,5 +6,6 @@ if exists("b:did_indent") endif setlocal autoindent cindent +setlocal formatoptions+=roq " vim:set sts=2 sw=2 : |
