From 697eca9784ffac39308e1fd45e0300582c3d060b Mon Sep 17 00:00:00 2001 From: Zaven Muradyan Date: Sun, 15 Oct 2017 06:09:28 -0700 Subject: 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). --- indent/glsl.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'indent/glsl.vim') 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 : -- cgit v1.2.3