From 31bed2d6cfa3daf5a15d910a4c65607fed6a80c0 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Sun, 2 Jun 2013 18:28:42 +0300 Subject: [PATCH] Update description of syntastic#makeprg#build(). --- autoload/syntastic/makeprg.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/autoload/syntastic/makeprg.vim b/autoload/syntastic/makeprg.vim index b032e123..4d7a0331 100644 --- a/autoload/syntastic/makeprg.vim +++ b/autoload/syntastic/makeprg.vim @@ -17,13 +17,17 @@ let g:loaded_syntastic_makeprg_autoload = 1 " \ 'args': '-a -b -c', " \ 'post_args': '--more --args', " \ 'tail': '> /tmp/output', +" \ 'filetype': 'ruby', " \ 'subchecker': 'mri' }) " "Note that the current filename is added by default - but can be overridden by "passing in an 'fname' arg. " -"All options can be overriden by the user with global variables - even when -"not specified by the checker in syntastic#makeprg#build(). +"Arguments 'filetype' and 'subchecker' are mandatory, handling of composite +"types and user-defined variables breaks if you omit them. +" +"All other options can be overriden by the user with global variables - even +"when not specified by the checker in syntastic#makeprg#build(). " "E.g. They could override the checker exe with "