Commit Graph

842 Commits

Author SHA1 Message Date
Donald Ephraim Curtis
ffae882541 slight modification to auto_loc_list behavior
g:syntastic_auto_loc now has the following possible options:

1 or "full_auto" or "fully_auto" behaves as normal, closing the loclist
when there are no errors and opening when there are errors.

2 or "semi_auto" will automatically close the loclist but _not_
automatically open it.
2011-02-15 21:45:44 -06:00
Martin Grenfell
09d0a091f0 move the syntastic_jsl_conf option out of the core plugin
Move this variable out of syntastic.vim since we dont the core plugin
shouldn't know any details of how the individual syntax checkers work.
2011-02-15 19:49:13 +13:00
Bryan Forbes
5bc6c2226f Added option to pass a config file to jsl. 2011-02-14 20:59:35 -06:00
Martin Grenfell
e2f8d56bc4 fix a bug with s:ErrorsForType()
compare the error type case insensitively since we cant know whether
errors will have a type of 'E' or 'e'
2011-02-12 01:15:00 +13:00
Donald Ephraim Curtis
e30ee7ce8b Fixed the problem with closing the Errors window and then wanting to
re-open it.  This error occurs when g:syntastic_auto_loc_list is
enabled.
2011-02-05 12:09:41 +13:00
Donald Ephraim Curtis
aebfc62a3b Silence the :ll command when auto_jump is enabled.
The message for the current error was being displayed when :ll was being
called.  Put a silent call to suppress output.
2011-02-05 12:09:27 +13:00
Donald Ephraim Curtis
9e6ad47d71 Add an option to jump to the first error. 2011-02-05 12:09:20 +13:00
Donald Ephraim Curtis
ddd858d8c1 Make it so that Loccation List is always populated.
Previously, the location list didn't get populated unless the Errors
window was displayed.  As a consequence there is no way to use :lnext
and :lprev to navigate the errors.  This makes it so that the list is
populated if there are new errors/warnings.
2011-02-05 12:08:56 +13:00
marty
4b690ba5e2 switch to version 1.2.0 and update the changelog 2010-10-28 23:13:34 +13:00
marty
97d6937dd4 only sign errors for the current buffer 2010-09-10 21:20:04 +12:00
marty
4e31dc1eb0 switch to version 1.1.0 2009-12-16 23:34:40 +13:00
marty
5ad3cd67c1 change my email to gmail, hotmail licks ass crack 2009-12-16 23:02:36 +13:00
marty
5ea36cb882 add commands to disable/enable syntax checking per filetype
Add these:
    :SyntasticDisable [filetype]
    :SyntasticEnable [filetype]

[filetype] defaults to the current filetype.

Add functions to bind the commands to.

Add g:syntastic_disabled_filetypes option to specify which filetypes
are disable by default.
2009-09-20 22:49:59 +12:00
Tim Pope
c83e196c84 Don't automatically focus quickfix window 2009-09-14 23:24:31 +12:00
marty
6b6546c8cc dont use :signs if vim wasnt compiled with them 2009-09-13 18:41:47 +12:00
marty
9712de9a47 remove bogus info from a method comment 2009-09-13 18:38:10 +12:00
marty
564496ed5a switch to version 1.0.0 2009-08-11 21:11:51 +12:00
Martin Grenfell
1cde42cb23 rename a var for consistency 2009-07-29 16:07:04 +12:00
Martin Grenfell
4b769b1dbe add syntastic_quiet_warnings option 2009-07-20 22:26:03 +12:00
Martin Grenfell
b8d2430814 add a doc file, remove the doc from the top of the script 2009-07-18 23:41:04 +12:00
Martin Grenfell
3dee539a2e some minor cleanups 2009-07-17 16:13:27 +12:00
Tim Carey-Smith
33d7086c34 Only auto-display the loclist if there are errors, but not if there are only warnings
Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
2009-07-17 12:09:27 +08:00
Martin Grenfell
0e98aa36c4 add SyntasticMake() to wrap up the :lmake procedure 2009-07-15 21:28:44 +12:00
Martin Grenfell
62abcf0b3d fix a typo 2009-07-15 19:34:17 +12:00
Martin Grenfell
1d3a963ee2 use todo hl group for warnings (looks better) 2009-07-15 19:23:02 +12:00
Martin Grenfell
89ec27e97f add a note about syntastic_auto_loc_list 2009-07-14 21:43:33 +12:00
Martin Grenfell
7fc70a741d place different signs for warnings 2009-07-14 14:10:47 +12:00
Martin Grenfell
378f74287f render new signs before deleting the old ones
this stops the sign column from flickering on and off
2009-07-14 13:47:46 +12:00
Martin Grenfell
7f60f42a2a add a todo note about the use of lclose 2009-07-13 23:23:04 +12:00
Martin Grenfell
03f4bd521e fix typo in a comment 2009-07-13 23:13:22 +12:00
Martin Grenfell
33fd1d9cd8 use location list instead of quicklist 2009-07-13 23:12:18 +12:00
Martin Grenfell
624c0b370b add sntastic_auto_copen option 2009-07-13 21:38:50 +12:00
Martin Grenfell
68d6ac09a2 refresh errors on bufreadpost instead of filetype
this is to stop the multiple syntax checking invocations that were
occurring when &ft was being detected as compound eg ruby.sinatra. i.e.
the ft was getting set as ruby, then another autocommand was resetting
it to ruby.sinatra, causing the syntax checking to be run twice.
2009-07-12 12:13:06 +12:00
Martin Grenfell
23a3edb4ed check all subfiletypes if &ft = "foo.bar" 2009-07-12 12:07:26 +12:00
Martin Grenfell
f2eb99d374 reset the next sign id after clearing signs 2009-07-12 01:35:29 +12:00
Martin Grenfell
75a06c41b0 update example syntax checker in blurb 2009-07-11 16:48:37 +12:00
Martin Grenfell
3d74f6df47 add a note about the stl flag to the blurb 2009-07-11 16:22:23 +12:00
Martin Grenfell
256b4225f2 update the blurb 2009-07-11 15:57:03 +12:00
Martin Grenfell
29ae4163b6 make the :sign stuff optional 2009-07-11 13:47:17 +12:00
Martin Grenfell
daa53659bd add a blurb at the top 2009-07-11 13:39:39 +12:00
Martin Grenfell
fa76e28947 rearrange some code and add comments 2009-07-11 11:55:51 +12:00
Martin Grenfell
20f7bb0d10 initial hacks 2009-07-11 11:09:52 +12:00