@@ -34,6 +34,7 @@ CONTENTS *syntastic-contents*
3434 5.1.Choosing which checkers to use.........| syntastic-filetype-checkers |
3535 5.2.Choosing the executable................| syntastic-config-exec |
3636 5.3.Configuring specific checkers..........| syntastic-config-makeprg |
37+ 5.4.Sorting errors.........................| syntastic-config-sort |
3738 6.Notes........................................| syntastic-notes |
3839 6.1.Handling of composite filetypes........| syntastic-composite |
3940 6.2.Editing files over network.............| syntastic-netrw |
@@ -208,7 +209,8 @@ disable generation of these labels by turning off '|syntastic_id_checkers|'.
208209If | 'syntastic_sort_aggregated_errors' | is set (which is the default), messages
209210in the aggregated list are grouped by file, then sorted by line number, then
210211type, then column number. Otherwise messages produced by the same checker are
211- grouped together.
212+ grouped together, and sorting within each group is decided by the variables
213+ | 'syntastic_<filetype>_<checker>_sort' | .
212214
213215------------------------------------------------------------------------------
2142162.6 Filtering errors *syntastic-filtering-errors*
@@ -688,6 +690,25 @@ Example: >
688690<
689691See | syntastic_quiet_messages | for the syntax.
690692
693+ ------------------------------------------------------------------------------
694+ 5.4 Sorting errors *syntastic-config-sort*
695+
696+ *'syntastic_<filetype>_<checker>_sort'*
697+ Syntastic may decide to group the errors produced by some checkers by file,
698+ then sort them by line number, then by type, then by column number. If you'd
699+ prefer to see the errors in the order in which they are output by the external
700+ checker you can set the variable | 'g:syntastic_<filetype>_<checker>_sort' | to 0.
701+
702+ Alternatively, if syntastic doesn't reorder the errors produced by a checker
703+ but you'd like it to sort them, you can set the same variable to 1.
704+
705+ There is also a local version | 'b:syntastic_<filetype>_<checker>_sort' | of
706+ this variable, that takes precedence over it in the buffers where it is
707+ defined.
708+
709+ For aggregated lists (see | syntastic-aggregating-errors | ) these variables are
710+ ignored if | syntastic_sort_aggregated_errors | is set (which is the default).
711+
691712==============================================================================
6927136. Notes *syntastic-notes*
693714
0 commit comments