Martin Grenfell
af83357512
fix a bug with error highlighting
...
Store error highlight IDs on a per window basis rather than per buffer.
This is needed as matchadd() adds highlights to the current window - not
buffer. This meant an error would occur when you open a file, create an
error that caused a highlight, then open the same file in a different
window - because it would call matchdelete() with an id that wasnt
defined for the current window.
2011-12-04 00:45:07 +00:00
Martin Grenfell
975315c665
fix a bug where balloons werent being removed
...
Remove balloons on every refresh so they dont get left there if all
errors are fixed on the next refresh.
NO ONE LIEKS ZEE STALE BALLOONS!
2011-12-04 00:45:07 +00:00
Martin Grenfell
c535a677ac
Merge pull request #111 from bregenspan/master
...
Tiny addition to documentation re: Helptags
2011-12-02 15:13:10 -08:00
Ben Regenspan
5954b5e5df
tiny documentation addition re: generating helptags
2011-12-02 17:14:40 -05:00
Martin Grenfell
092c7cdb19
fix for erlang syntax checker
...
dont hardcode the path of the checking script
2011-12-02 10:38:11 +00:00
Martin Grenfell
4ee40b271e
fix a bug that was occurring with balloons
...
Don't try to display balloons when no errors were detected. Refactor the
ballon refresh code out into its own function.
2011-12-02 09:53:49 +00:00
Martin Grenfell
5d479552f3
fix a syntax error with the SyntasticCheck command
2011-12-02 09:36:11 +00:00
Martin Grenfell
45c77595c9
update the header comments for version 2.0.0
2011-12-02 00:27:14 +00:00
Martin Grenfell
d046f8e920
update changelog and credits
2011-12-01 17:59:59 +00:00
Martin Grenfell
319b8f2cb8
shift all the c helper functions into their own autoload lib file
...
This is mainly just for namespacing purposes and to set a pattern for
future helper lib functions.
2011-11-30 22:13:16 +00:00
Martin Grenfell
f2b9d24e95
add README
2011-11-30 20:56:43 +00:00
Martin Grenfell
0ae7112d50
remove the Rakefile - pathogen will be promoted from now on
2011-11-30 20:07:05 +00:00
Martin Grenfell
aa67390bd6
make syntastic more active by default
...
Enable more of the features by default while avoiding some of the more
intrusive ones.
Update the doc to reflect this.
2011-11-30 19:56:27 +00:00
Martin Grenfell
965b3b7203
move the highlighting/balloon code into the main plugin file
...
In future I may move most of the code out into an autoload file, but in
the meantime I want all the code tidy and in one place for the next
release
2011-11-30 19:23:31 +00:00
Martin Grenfell
6b23d638b4
update the doc
...
some work still needs to be done here
2011-11-30 19:23:00 +00:00
Martin Grenfell
fc6e785a4e
sass: remove the bufnr hacks and ignore some irrelevant output
...
We dont need to manually hack the bufnr for each entry in the loc list
since that the error output includes a file name.
Ignore the last line of the error message since it seems to always just
be "use --trace for a backtrace"
2011-11-29 09:16:40 +00:00
Martin Grenfell
4fbec5fdbd
move the scss checker out of the sass checker
...
Just load the sass checker and call off to that - dont duplicate the
code as it previously was.
2011-11-29 09:11:08 +00:00
Martin Grenfell
31d3a7d619
trivial cosmetic code fix
2011-11-29 08:44:51 +00:00
Martin Grenfell
5c0dbc5d05
init the components of syntastic_mode_map separately
...
this allows the user to skip components in their own definition
2011-11-29 08:44:09 +00:00
Martin Grenfell
295f7a5d29
shift the :command definitions to a common place - to be tidy
...
Previously they were with their associated functions, but better to have
them all in one place.
2011-11-29 08:38:28 +00:00
Martin Grenfell
47147aad17
remove the old code to disable/enable filetypes
...
This system has been superseded by the new mode map code. If requested
in future, some code may be added to manipulate the active/passive types
in the mode map at runtime to provide the same functionality.
2011-11-29 08:36:42 +00:00
Martin Grenfell
78fbd7fa13
add g:syntastic_mode_map option
...
This option will allow users to fine tune when automatic syntax checking
is done.
The option should be set to something like:
let g:syntastic_mode_map = { 'mode': 'active',
\ 'active_filetypes': [],
\ 'passive_filetypes': ['puppet'] }
g:syntastic_mode_map['mode'] can take one of 2 values - "active" or
"passive". When set to active, syntastic does automatic checking as
usual. When set to "passive" syntastic only checks when the user calls
:SyntasticCheck.
The exceptions to these rules are defined in "active_filetypes"
"passive_filetypes". In passive mode, automatic checks are still done
for all filetypes in the "active_filetypes" array. In active mode,
automatic checks are not done for any filetypes in the
"passive_filetypes" array.
2011-11-28 23:44:40 +00:00
Martin Grenfell
e7b8375dec
Merge remote-tracking branch 'justone/add_one_time_check'
2011-11-28 23:41:53 +00:00
Martin Grenfell
3d385cf0cd
fix a bug on windows
2011-11-28 23:38:45 +00:00
Martin Grenfell
12c9c334b1
fix a typo in the erlang syntax checker
2011-11-27 21:47:26 +00:00
Martin Grenfell
950dc1a6e5
apply kTT's patch to fix the erlang syntax checker
2011-11-27 21:43:44 +00:00
Pawel 'kTT' Salata
6fab5bf5ab
Syntax checking for erlang
2011-11-27 21:39:48 +00:00
Martin Grenfell
f428139a0f
remove custom highlights manually - not with matchclear()
...
Previously we were blowing away highlights that were added by other
plugins via matchadd(). To prevent this we now track all the ids of the
highlights groups we add and remove them explicitly with matchdelete().
2011-11-27 15:35:56 +00:00
Martin Grenfell
3c26740b28
js checker: let the user configure which checker to use
...
Add the g:syntastic_javascript_checker option so the user can specify
which javascript syntax checker to use. If none is specified then just
use the first syntax checker we find installed.
2011-11-27 01:25:51 +00:00
Martin Grenfell
e7be5101e8
Merge pull request #107 from zsprackett/puppet-syntax-fix
...
Need this on new puppet as well
2011-11-25 01:44:06 -08:00
S. Zachariah Sprackett
4b0888740e
Need this on new puppet as well
2011-11-24 22:48:56 -05:00
Martin Grenfell
b75b836e5e
Merge pull request #78 from sergevm/master
...
Update of eRuby checker for Windows OS
2011-11-24 15:56:51 -08:00
Martin Grenfell
3be983469e
Merge pull request #86 from justone/allow_non_executable_efm_perl_pl
...
don't break when efm_perl.pl isn't executable
2011-11-24 15:55:15 -08:00
Martin Grenfell
05667205a9
Merge pull request #76 from lervag/master
...
Added support for Fortran
2011-11-24 15:53:46 -08:00
Martin Grenfell
02ab57da12
Merge pull request #89 from mlb-/FreeBSD_hack
...
Counter-hack to provide screen redraw on FreeBSD
2011-11-24 15:50:42 -08:00
Martin Grenfell
67a2d99da7
Merge pull request #92 from roman/master
...
Updating the haskell syntax checker
2011-11-24 15:39:57 -08:00
Fjölnir Ásgeirsson
3826391e7d
Changed the C syntax checker to use GNU99 (as opposed to GNU89).
...
Conflicts:
syntax_checkers/c.vim
2011-11-24 23:30:40 +00:00
Martin Grenfell
d472fcce3f
Merge pull request #85 from jimenezrick/add-gitignore
...
Adds .gitignore file, useful with pathogen
2011-11-24 15:21:22 -08:00
Martin Grenfell
dc485b8389
Merge pull request #98 from docteurklein/phpcs
...
added phpcs support
2011-11-24 15:17:52 -08:00
Clayton Parker
1cb56c8bb4
Add support for Zope Page Template syntax checking using zptlint
2011-11-24 23:12:36 +00:00
Martin Grenfell
8a1f3b8dd2
Merge pull request #104 from soli/master
...
Allow the use of flake8 (http://pypi.python.org/pypi/flake8 ) instead of pyflakes to check python code
2011-11-24 15:02:56 -08:00
Martin Grenfell
e9460a0b85
Merge pull request #106 from zsprackett/puppet-syntax-fix
...
Add --ignoreimport to puppet parse
2011-11-24 03:05:10 -08:00
S. Zachariah Sprackett
239aed5c09
Add --ignoreimport to puppet parse
2011-11-23 14:59:07 -05:00
Sylvain Soliman
9796022986
Allow the use of flake8 instead of pyflakes to check python code
...
Define a user-configurable variable g:syntastic_python_checker and
otherwise default to an available checker.
Make the highlighting catch all pyflakes errors
Add a header to the file
Make the errorformat handle columns provided by pep8 through flake8
2011-11-16 16:37:03 +01:00
Ricardo Catalinas Jiménez
1acc40da7b
Adds .gitignore file, useful with pathogen
...
Ignore `tags' files created when using pathogen.
2011-11-09 13:26:59 +01:00
Martin Grenfell
d2f51c70ea
Merge pull request #99 from kusnier/xslt_checker
...
Add xslt syntax checker
2011-11-08 15:45:35 -08:00
Martin Grenfell
28d42b7240
Merge pull request #100 from kusnier/xml_checker
...
Add xml syntax checker
2011-11-08 15:45:10 -08:00
Sebastian Kusnier
7127e3c88f
add xslt syntax checker
2011-11-08 10:53:38 +01:00
Sebastian Kusnier
6c83939fab
add xml syntax checker
2011-11-07 23:00:44 +01:00
Klein Florian
22fedb5350
added phpcs support
2011-10-28 11:35:03 +02:00