Commit Graph

325 Commits

Author SHA1 Message Date
LCD 47
c18ad3e5b8 New checker for yacc: bison. 2013-12-02 16:31:45 +02:00
LCD 47
9856b73b3a New checker for lex: flex. 2013-12-02 13:11:32 +02:00
LCD 47
aa63e1d79e Cleanup fo the racket checker. 2013-12-01 19:09:33 +02:00
LCD 47
1ee2930e24 SyntasticCheck accepts multiple arguments. Cache available checkers. 2013-11-30 00:56:10 +02:00
LCD 47
31a882e52e Minor cleanup: qualify case sensitivity. 2013-11-29 10:35:21 +02:00
LCD 47
cf66f35658 Cleanup the limbo checker. 2013-11-25 20:01:21 +02:00
syucream
1319e52925 Add syntax checking plugin for po files of gettext 2013-11-23 03:49:45 +09:00
LCD 047
fcb83a0d43 Merge pull request #876 from jcristovao/master
Bit rot: the registered name for ghc-mod is ghc_mod.
2013-11-21 08:38:05 -08:00
LCD 47
f97ebd2173 Minor cleanup.
Cleanup highlighting initialization.
Document the syntax highlight groups involved.
2013-11-21 18:27:52 +02:00
João Cristóvão
3721d9fca9 Name specified in ghc-mod.vim is ghc_mod, not ghc-mod. 2013-11-21 09:48:29 +00:00
LCD 47
4cc0b119c0 Minor cleanup. 2013-11-19 09:35:16 +02:00
LCD 47
cfe2ac68a4 New command :SyntasticSetLoclist. 2013-11-16 12:49:43 +02:00
LCD 47
7b36f9147f More detailed debugging.
Moved logging functions to autoload/syntastic/log.vim.
Cleanup debug functions.
Add a function to dump option variables.
2013-11-14 10:13:05 +02:00
LCD 47
bbd382ba5d Detailed debugging.
New variables: g:syntastic_debug_file, the name of a file where to write
debugging messages, in addition to adding them to the message history.

The old g:syntastic_debug is now a sum of flags:

*  1 - trace checker calls
*  2 - dump loclists
*  4 - trace notifiers
*  8 - trace autocommands
* 16 - dump syntastic variables (not implemented yet)
2013-11-13 10:58:33 +02:00
LCD 47
7c638f6f70 Minor cleanup. 2013-11-11 22:14:05 +02:00
LCD 47
802ccf53ab Fix luac highlighting. 2013-11-11 18:24:36 +02:00
LCD 47
544d616acf Bump version number. 2013-11-11 10:55:12 +02:00
LCD 47
a5b5fb784e Merge branch 'registry_cleanup' 2013-11-11 10:36:20 +02:00
LCD 47
6740608991 Bump version number. 2013-11-08 17:29:33 +02:00
LCD 47
a9e3b52c73 Add default checkers for all filetypes. 2013-11-08 17:28:41 +02:00
LCD 47
8922dc2388 Cleanup related to the HighlightRegex() functions. 2013-11-07 18:27:11 +02:00
LCD 47
1a5bf0118a Cleanup related to the HighlightRegex() functions. 2013-11-07 18:24:10 +02:00
LCD 47
6d81ac5dd0 Registry cleanup, stage 3.
Make syntastic#makeprg#build() a dictionary function.
Remove the mandatory checker argument to syntastic#makeprg#build().
2013-11-02 10:44:06 +02:00
LCD 47
3694908d05 Registry cleanup, stage 2.
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'.  If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional.  When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
2013-11-02 10:44:06 +02:00
LCD 47
28bce98a68 Registry cleanup, stage 1.
Make SyntaxCheckers_*_GetLocList() dictionary functions.
Pass a reference to the current checker to syntastic#makeprg#build().
Add an optional 'redirect' argument to CreateAndRegisterChecker().
Change the sh checker to use the new dictionary functions.
Add a new registry method getLocListRaw() (needed for the sh checker).
2013-11-02 10:44:06 +02:00
LCD 47
14cb306414 New option g:syntastic_id_checkers.
Default: 1.  There is also a local version b:syntastic_id_checkers.
2013-11-02 10:39:06 +02:00
LCD 47
c2e1429c4e Reword the message given by SyntasticInfo. 2013-11-01 16:51:50 +02:00
LCD 47
cd1d1a2a55 Cleanup. 2013-11-01 11:51:04 +02:00
LCD 47
e67e5998da Moved initialization of g:syntastic_delayed_redraws to util.vim. 2013-10-30 07:21:46 +02:00
LCD 47
f623d1ea05 Workaround for a Vim crash.
Older versions of Vim can crash if redraw is called while a popup is
visible.  This commit adds a variable g:syntastic_delayed_redraws that
instructs syntastic to move redraws to a CursorHold / CursorHoldI
handler if redraw is called while pumvisible() is true.
2013-10-29 09:09:34 +02:00
LCD 47
022c49371f Check for a minimal set of Vim features at startup. 2013-10-29 01:15:44 +02:00
LCD 47
c87d17444f Make syntastic re-read g:syntastic_mode_map at every check. 2013-10-28 21:53:10 +02:00
LCD 47
8eba8c3a45 Update version string. 2013-10-28 20:29:10 +02:00
LCD 47
c8e173c4ef Make g:syntastic_filetype_map apply to composite filetypes.
Normally composite types are handled by splitting them into simple
components, and applying the corresponding (simple) checkers.  This
behaviour can now be disabled, by mapping composite types to a simple
ones.
2013-10-28 08:20:21 +02:00
LCD 47
95aab2530e Try to avoid fun with magic / nomagic by qualifying regexps. 2013-10-25 15:46:16 +03:00
LCD 47
d238665385 Fix unwanted filter() and map() side effects. Minor cleanup. 2013-10-23 12:59:23 +03:00
LCD 47
d251ca822d Minor cleanup. 2013-09-27 10:35:46 +03:00
LCD 47
ce198e64bd Sanity check for shell redirections (shell=fish won't work). 2013-09-24 21:41:59 +03:00
LCD 47
c404f78e87 Save and restore local errorformat. 2013-09-20 01:04:35 +03:00
LCD 47
500bac5f64 Make 'litcoffee' filetype an alias to 'coffee'. 2013-09-20 01:01:57 +03:00
LCD 47
81e2e20892 Bug fix: split checker output into lines before preprocessing. 2013-08-16 01:31:22 +03:00
LCD 47
e6482164f8 Fix setting title of the error window.
Sadly this is slow.
2013-08-15 21:24:57 +03:00
LCD 47
205dc0b168 Minor bug fix: setting checker names in CacheErrors(). 2013-08-15 20:30:06 +03:00
LCD 47
929f92ddd6 Bug fix: allow loclist cleanup. 2013-08-13 17:48:37 +03:00
LCD 47
148021e348 Reuse loclists when possible, to allow :lolder and :lnewer.
This is not completely safe: if a loclist is created by something
other than syntastic before the error window is displayed, syntastic
will obliterate it.  There is currently no way to tell if a
loclist was created by syntastic or not.  Undocumented variable
g:syntastic_reuse_loc_lists can be used to disable reuse of loclists.
2013-08-13 09:31:43 +03:00
LCD 47
48208d46f8 Merge branch 'master' into preprocess 2013-08-09 15:33:34 +03:00
LCD 47
8901a8262e Add debug logging for syntastic_aggregate_errors. 2013-08-09 15:33:18 +03:00
LCD 47
548b816bab Merge branch 'master' into preprocess 2013-08-08 10:36:02 +03:00
LCD 47
572a36188d Reset only the LC_MESSAGES part of locales. 2013-08-08 10:30:57 +03:00
LCD 47
e0396dcdc0 Bug fix: wrong variable scope. 2013-08-05 12:57:50 +03:00