Martin Grenfell
abc33ebcea
update changelog/credits
2011-12-20 09:33:31 +00:00
Martin Grenfell
a24bf027cc
fix a bug with EchoCurrentError
...
due to an error in the logic, the echo window was being cleared after
every cursor movement instead of when moving the cursor off an error
2011-12-19 23:04:49 +00:00
Martin Grenfell
4f6ed48de5
Merge pull request #132 from kongo2002/haskell_efm
...
Improve Haskell errorformat
2011-12-19 13:53:36 -08:00
kongo2002
fc987cead3
parse haskell error and warning tags
2011-12-18 21:26:39 +01:00
Martin Grenfell
d3ed7b043e
Merge remote-tracking branch 'kongo2002/c_improve'
2011-12-18 19:07:41 +00:00
Martin Grenfell
587c565df3
Merge pull request #130 from kongo2002/fix_errors
...
fix small bug in s:Errors()
2011-12-18 10:05:49 -08:00
kongo2002
138e48c275
C: readd default include dirs
2011-12-18 19:05:40 +01:00
kongo2002
18073102b3
C: option to remove errors from included files ( #70 )
2011-12-18 18:59:24 +01:00
kongo2002
5accceb04a
C: add some explanatory comments
2011-12-18 18:25:07 +01:00
kongo2002
309652c840
C: modify the default include directories
2011-12-18 18:24:28 +01:00
kongo2002
58e65d99a4
C: remove duplicates in include directories
2011-12-18 18:09:27 +01:00
kongo2002
ef7deb1127
fix bug in s:Errors() introduced with commit 755eddaa
2011-12-18 17:57:03 +01:00
Martin Grenfell
26b5bb871c
Merge remote-tracking branch 'millermedeiros/jsonlint'
...
Conflicts:
doc/syntastic.txt
2011-12-18 13:43:50 +00:00
millermedeiros
dca9e450a2
add millermedeiros as maintainer of JSON syntax checker.
2011-12-18 11:06:09 -02:00
Martin Grenfell
755eddaa06
make all loclist items errors by default
...
If a syntax checker returns items with blank 'type' keys, then make them
errors. This simplifies things since we were previously making the
assumption that empty types are errors anyway. It also fixes a bug in
EchoCurrentError() function that was due to not checking for a blank ty
pe.
2011-12-18 00:47:46 +00:00
Martin Grenfell
fb0259a4ef
remove the ability to check compound filetypes
...
remove this for now since it is not being used and will probably never
be used
2011-12-18 00:41:44 +00:00
Martin Grenfell
7c623b7278
Revert "add Lclose() and use it when closing the loc list"
...
This reverts commit e90aa61ca6
.
The idea here was to only close the location list window if it could be
verified that it contained only syntastic data. This was done by
comparing the current location list with b:syntastic_loclist to see if
they are the same.
The problem is that, after we recheck errors, b:syntastic_loclist is
empty (if the user has fixed everything) so it doesnt match
getloclist(0) so we cant close it automatically.
Revert this for now and worry about the issue later - if a user
complains or if a new plugin that uses location lists comes up.
Conflicts:
plugin/syntastic.vim
2011-12-17 19:16:00 +00:00
Martin Grenfell
aeca4bfc40
Merge pull request #127 from millermedeiros/iss-jshint_config
...
fix jshint checker since it was ignoring jshintrc configs
2011-12-16 15:51:24 -08:00
millermedeiros
e4adda29f7
fix jshint checker since it was ignoring jshintrc configs.
2011-12-16 16:28:24 -02:00
Martin Grenfell
2385a0b581
make s:FilterLocList() work on s:LocList() by default
2011-12-16 16:57:06 +00:00
Martin Grenfell
ec3ac50f76
refactor b:syntastic_loclist to s:LocList() and s:ClearLocList()
...
This allows us to lazy init b:syntastic_loclist so we dont have to worry
about doing `if exists("b:syntastic_loclist")` anywhere.
Im a bit worried about doing things like
s:LocList()[0]['lnum']
since im not sure that that syntax is supported for older versions of
vim.
2011-12-16 16:48:26 +00:00
Martin Grenfell
1e8d54d964
dont do syntax checking for any file that is non standard
2011-12-16 16:28:06 +00:00
millermedeiros
2698e26e71
add json syntax checker. see #74 .
...
still need to wait for zaach/jsonlint#15 before merging into master.
2011-12-16 14:22:20 -02:00
Martin Grenfell
761e8e4a19
update changelog
2011-12-16 13:36:16 +00:00
Martin Grenfell
e90aa61ca6
add Lclose() and use it when closing the loc list
...
Lclose() acts as :lclose except that it checks the content of the
location list and calls :lclose if it only contains syntastic data
2011-12-16 13:36:07 +00:00
Martin Grenfell
49e009c2fc
Merge pull request #126 from millermedeiros/iss123
...
auto close location list when closing buffer
2011-12-16 05:14:45 -08:00
millermedeiros
d04c9766c7
BufWinLeave is always called before BufUnload, redudant.
2011-12-16 11:00:55 -02:00
millermedeiros
233f7952f1
ops, forgot to check buftype before calling lclose, avoid calling it if not needed.
2011-12-16 10:42:05 -02:00
millermedeiros
d3b122dfba
fix loc list auto close. see #123
...
- changed BufLeave to BufWinLeave otherwise it would close when
jumping to loc list.
- extracted method that auto close/open location list based on
errors/settings and make sure it reopens loclist when buffer is
displayed (BufWinEnter) if needed.
2011-12-16 10:30:56 -02:00
millermedeiros
0d1943e6f5
auto close location list when closing or moving to another buffer. also update errors on BufEnter. see #123
2011-12-16 02:23:00 -02:00
Martin Grenfell
d053c8da1d
trivial refactor
2011-12-15 23:09:17 +00:00
Martin Grenfell
bfe3725e13
make EchoCurrentError() not mask errors with warnings
2011-12-15 23:08:39 +00:00
Martin Grenfell
17f9b764de
dont clobber error signs with warning signs
2011-12-15 22:52:35 +00:00
Martin Grenfell
26b45eeccf
add a couple of "!"s to function defs - for consistency
2011-12-15 22:31:19 +00:00
Martin Grenfell
d85130ddf5
update errors when :SyntasticToggleMode is called
...
Previously if we have errors displayed and we just want syntastic to
shut up, then we would use :SyntasticToggleMode but existing errors
would not be removed (ever).
So empty them out when we toggle modes.
When coming into active mode this will cause a check to be done which
will pick up errors as normal.
2011-12-15 13:45:48 +00:00
Martin Grenfell
d14b53e903
Merge pull request #122 from JNRowe/rst_checker
...
Added basic reStructuredText checker.
2011-12-14 06:30:50 -08:00
James Rowe
7539eacb81
Added basic reStructuredText checker.
2011-12-14 14:22:59 +00:00
Martin Grenfell
9df0367500
Merge pull request #121 from JNRowe/master
...
Added a Gentoo metadata-xml checker
2011-12-14 06:11:40 -08:00
James Rowe
b1321422c8
Added note on speeding up validation to XML checker.
2011-12-14 13:58:44 +00:00
James Rowe
a2088eb2ff
Added basic Gentoo metadata.xml checker.
2011-12-14 13:58:20 +00:00
Martin Grenfell
a210721744
change to version 2.1.0
2011-12-14 09:06:16 +00:00
Martin Grenfell
c5f85ca725
update changelog/credits
2011-12-14 09:06:09 +00:00
Martin Grenfell
8717ff7f46
make a small refactor and add a comment
2011-12-13 23:28:39 +00:00
Martin Grenfell
e34f8dfced
insert the changelog (from 2.0.0) into the readme
2011-12-13 23:22:17 +00:00
Martin Grenfell
9a34780e99
Merge pull request #120 from JNRowe/master
...
Support for filetype names containing hyphens
2011-12-13 15:22:20 -08:00
James Rowe
0b6587dbb6
Handle filetype names containing hyphens.
...
The gentoo vim syntax files use names like gentoo-mirrors, gentoo-metadata, etc.
This simple, and very ugly, fix makes it possible to write syntax checkers for
them.
2011-12-13 17:30:19 +00:00
Martin Grenfell
3c1a8266eb
Merge pull request #119 from technosophos/master
...
Added the --standard=Zend flag as default
2011-12-13 08:26:25 -08:00
Matt Butcher
e3c2b95b94
Added default setting to php.vim.
...
Changed the default standard to Zend, which is the most forgiving
of the out-of-the-box syntaxes.
2011-12-13 10:20:07 -06:00
Martin Grenfell
1a20c871f9
add a note about the google group to the readme
...
created last night :) since there are over 50 contributors now it could
be useful to have a public place to discuss things.
2011-12-13 08:54:12 +00:00
Martin Grenfell
f51ec67061
update change log and credits for next version
2011-12-12 23:44:45 +00:00