Commit Graph

1240 Commits

Author SHA1 Message Date
LCD 47
31b654301b Fix for #597.
If the first error in the location list refers to a file that isn't
loaded, entering the quickfix window would close it.

If `hidden` is set, `:quit`-ing the main file would not close the
quickfix window.
2013-04-09 18:20:14 +03:00
Martin Grenfell
2b6f6a5724 move s:Loclist() into SyntasticLoclist as a class method 2013-04-09 09:52:02 +01:00
LCD 47
92a25ed1a2 More cleaning up.
Renames notification classes.
Fixes a stupid bug related to the cursor notifier.
2013-04-09 01:10:17 +03:00
LCD 47
90dce6d3e7 Cleanup.
Makes cursor a standard notifier.
Adds a method enabled() to the notifiers.
Adds an optional method reset() to the notifiers.
2013-04-09 00:24:54 +03:00
Martin Grenfell
9a7db4a50b move a couple of options out into relevant notifiers 2013-04-07 23:30:24 +01:00
Martin Grenfell
dc3d80a204 more refactors to the Notifier classes
Move the autoloc list toggling out into its own notifier class.

Move the function that echos the error on the current line out into its
own notifier.

A few other changes were required in the process:
* move s:WideMsg() out into syntastic#util autoload lib so it is
  available from the cursor notifier.
* move s:ShowLocList() into the LocList class so it is available for
  the autoloclist notifier
* move s:HideLocList() into Loclist as a class method mainly to keep the
  two show/hide methods together
* move the s:old_line var into the Cursor notifier where it is needed
2013-04-07 23:06:02 +01:00
LCD 47
0deeefd08e Notifiers refactor.
Creates a notifier class.
Changes the existing signer class to fit the new notifier.
Moves balloons and highlighting to their own classes.
Caches and speeds up EchoCurrentError().
Adds all relevant messages to balloons rather than using the first one.
Fixes yet another (minor) bug related to g:syntastic_quiet_warnings.
2013-04-07 22:10:26 +03:00
LCD 47
01232979aa Fix signs initialization.
Signs should be initialized even if they aren't enabled at startup.
2013-04-06 23:10:27 +03:00
LCD 47
ba13a3d4b5 Fix shell pipe hack. 2013-04-06 21:58:38 +03:00
LCD 47
e473038e66 Fixes handling of g:syntastic_quiet_warnings.
Fixes signs (leftover from commit 878bcea).
2013-04-06 21:19:30 +03:00
LCD 47
633dfa60ec HTML checker using http://validator.nu. 2013-04-05 11:47:17 +03:00
Martin Grenfell
128ac00c59 vhdl/ghdl checker: use syntastic#makeprg#build 2013-04-04 22:53:40 +01:00
Martin Grenfell
45cb348fd9 Merge pull request #601 from Jaydyou/master
added vhdl syntax checker
2013-04-04 14:52:20 -07:00
Jaydyou
57568622fe added vhdl syntax checker utilizing ghdl 2013-04-04 22:52:26 +02:00
LCD 47
878bceaac7 Fixes handling of g:syntastic_quiet_warnings. 2013-04-03 21:53:56 +03:00
LCD 47
bd226bb026 Minor cleanup. 2013-04-03 11:45:06 +03:00
LCD 47
54cad3696e Makes sparse aware of &tabstop. 2013-04-03 11:35:02 +03:00
LCD 47
3b8f38dcf9 Merge pull request #596 from supki/syntax-checker-coqtop
Added syntax checker for coq.
2013-04-02 11:58:08 -07:00
Matvey Aksenov
a3e5fb201d Added syntax checker for coq. 2013-04-02 22:36:00 +04:00
LCD 47
c8208cf24e Merge pull request #595 from joshuarh/simplify-coffeescript-checker
update the default coffeescript checker
2013-04-02 11:31:49 -07:00
LCD 47
1f262ff3bc Skip running in special buffers. 2013-04-02 15:30:58 +03:00
LCD 47
8f75fd547c php/php: prevent xdebug.cli_color from messing with checks. 2013-04-02 11:03:01 +03:00
Joshua Hoff
d769273bcc update the default coffeescript checker
No need to generate a file when linting, as the coffeescript compiler
will do that for you.

This has been tested with coffeescript 1.6.2.

Also: use options over flags for readibility
2013-04-01 20:33:58 -05:00
Martin Grenfell
78f345bab3 extract the vim work around code out to be more explicit
Add an explaining variable and a comment for the vcol workaround. See
issue #588
2013-03-28 23:28:41 +00:00
Martin Grenfell
46cd844a55 Merge remote-tracking branch 'lcd047/vcol' 2013-03-28 23:23:26 +00:00
Martin Grenfell
19a502d3ba bugfix for sourcing the syntastic class files
Fixes #543.

Use `runtime!` to source all runtime files - not just the first one
found. I actually dont know how syntastic was working at all without
this...
2013-03-28 23:04:58 +00:00
LCD 47
ec386f6b5d Bug fix. 2013-03-28 23:11:05 +02:00
Martin Grenfell
6e61cbd4c6 Merge pull request #587 from lcd047/coffee_bitrot
Bit rot in coffee-script.
2013-03-28 10:53:36 -07:00
LCD 47
02a39b1c56 Updates errorformat in coffee. 2013-03-28 19:04:29 +02:00
Martin Grenfell
2b0cee4552 Merge pull request #585 from lcd047/sparse_fix
Fixes the sparse checker.
2013-03-27 07:23:04 -07:00
LCD 47
b9dc0829ef Fixes the sparse checker.
Also allows %v to be used in errorformat.
2013-03-27 16:06:47 +02:00
Martin Grenfell
0cf85d52c1 Merge pull request #583 from lcd047/checkbashisms
Set subchecker in checkbashisms
2013-03-27 02:19:52 -07:00
LCD 47
1247394786 Add subchecker to syntastic#makeprg#build() calls. 2013-03-27 11:17:15 +02:00
LCD 47
0ce25edcc6 Set subchecker. 2013-03-26 22:42:43 +02:00
Martin Grenfell
a3299364ca sh/checkbashisms: remove unneeded l: variable prefixes 2013-03-26 19:52:40 +00:00
Martin Grenfell
818b4a5365 Merge pull request #574 from aswna/master
Added new sh checker: checkbashisms.
2013-03-26 12:52:01 -07:00
Martin Grenfell
076c00790b Merge pull request #582 from lcd047/jshint_args
Fix for #581
2013-03-26 12:49:41 -07:00
LCD 47
73a72bdc25 Try to cope with older versions of jshint. 2013-03-26 21:40:20 +02:00
aswna
259f7717fb Use and adapt to more recent checkbashisms.pl. Some refactoring. 2013-03-26 00:40:50 +01:00
Martin Grenfell
8480de81af Merge pull request #579 from lcd047/typo
Fix for #578
2013-03-25 08:15:23 -07:00
LCD 47
36f6cd471e Typo in cpp/gcc checker. 2013-03-25 17:12:13 +02:00
Martin Grenfell
bf99882563 Merge pull request #262 from powerman/E855-on-lclose
Fix E855 on :lclose
2013-03-25 02:49:32 -07:00
Martin Grenfell
dfd184c2a3 Merge pull request #577 from likr/togglefix
Error on SyntasticToggleMode.
2013-03-25 02:26:31 -07:00
Martin Grenfell
9dd3052aac Merge pull request #553 from amouravski/master
Updated the dart syntax checker.
2013-03-25 02:24:05 -07:00
aswna
cf1a639795 Removed unsafe tcsh checker. 2013-03-25 09:19:58 +01:00
Yosuke ONOUE
01ce9e3daf Fixed error on SyntasticToggleMode. 2013-03-25 14:16:58 +09:00
Gregor Uhlenheuer
c3615fb063 Merge pull request #571 from lcd047/cleanup_dupes
Checkers cleanup
2013-03-24 12:41:58 -07:00
Gregor Uhlenheuer
747fed932d Merge pull request #536 from trprice/master
Make.vim - Check g:syntastic_c_errorformat so that users can provide their own error format
2013-03-24 11:23:43 -07:00
aswna
01b3e89352 Added new sh checker: checkbashisms. 2013-03-23 01:30:26 +01:00
Martin Grenfell
d35e273d33 move the modemap code out into its own class 2013-03-22 22:50:47 +00:00