@@ -36,6 +36,7 @@ CONTENTS *syntastic-contents*
36
36
5.2.Choosing the executable................| syntastic-config-exec |
37
37
5.3.Configuring specific checkers..........| syntastic-config-makeprg |
38
38
5.4.Sorting errors.........................| syntastic-config-sort |
39
+ 5.5.Debugging..............................| syntastic-config-debug |
39
40
6.Notes........................................| syntastic-notes |
40
41
6.1.Handling of composite filetypes........| syntastic-composite |
41
42
6.2.Editing files over network.............| syntastic-netrw |
@@ -158,6 +159,11 @@ Something like this could be more useful: >
158
159
When syntax errors are detected a flag will be shown. The content of the flag
159
160
is derived from the | syntastic_stl_format | option.
160
161
162
+ Please note that these settings might conflict with other Vim plugins that
163
+ change the way statusline works. Refer to these plugins' documentation for
164
+ possible solutions. See also | syntastic-powerline | below if you're using the
165
+ "powerline" Vim plugin (https://github.com/powerline/powerline ).
166
+
161
167
------------------------------------------------------------------------------
162
168
2.2. Error signs *syntastic-error-signs*
163
169
@@ -541,10 +547,10 @@ overriding filters, cf. |filter-overrides|).
541
547
542
548
"level" - takes one of two values, "warnings" or "errors"
543
549
"type" - can be either "syntax" or "style"
544
- "regex" - is matched against the messages' text as a case-insensitive
545
- | regular-expression |
546
- "file" - is matched against the filenames the messages refer to, as a
547
- case-sensitive | regular-expression | .
550
+ "regex" - each item in list is matched against the messages' text as a
551
+ case-insensitive | regular-expression |
552
+ "file" - each item in list is matched against the filenames the messages
553
+ refer to, as a case-sensitive | regular-expression | .
548
554
549
555
If a key is prefixed by an exclamation mark "!", the corresponding filter is
550
556
negated (i.e. the above example silences all messages that are NOT errors).
@@ -814,6 +820,25 @@ defined.
814
820
For aggregated lists (see | syntastic-aggregating-errors | ) these variables are
815
821
ignored if | 'syntastic_sort_aggregated_errors' | is set (which is the default).
816
822
823
+ ------------------------------------------------------------------------------
824
+ 5.5 Debugging *syntastic-config-debug*
825
+
826
+ Syntastic can log a trace of its working to Vim's | message-history | . To verify
827
+ the command line constructed by syntastic to run a checker, set the variable
828
+ | 'syntastic_debug' | to a non-zero value, run the checker, then run | :mes | to
829
+ display the messages, and look for "makeprg" in the output.
830
+
831
+ From a user's perspective, the useful values for | 'syntastic_debug' | are 1, 3,
832
+ and 33:
833
+
834
+ 1 - logs syntastic's workflow
835
+ 3 - logs workflow, checker's output, and | location-list | manipulations
836
+ 33 - logs workflow and checker-specific details (such as version checks).
837
+
838
+ Debug logs can be saved to a file; see | 'syntastic_debug_file' | for details.
839
+
840
+ Setting | 'syntastic_debug' | to 0 turns off logging.
841
+
817
842
==============================================================================
818
843
6. Notes *syntastic-notes*
819
844
0 commit comments