Martin Grenfell
cd99a2d084
haxe: remove a stray echo and fix a function name
...
rename Find_in_parent to FindInParent for consistency and make it local
to the script
2012-01-06 18:20:04 +00:00
Martin Grenfell
c2b5cd1686
haxe: make the indentation consistent
2012-01-06 18:14:43 +00:00
Martin Grenfell
55f7ffe30b
Merge pull request #137 from davidB/master
...
haxe support
2012-01-06 10:14:12 -08:00
David Bernard
47dcc47980
haxe: update Maintainer
2011-12-28 22:19:12 +01:00
David Bernard
78e1ea2b34
add basic support for haxe
2011-12-28 22:12:45 +01:00
Martin Grenfell
c8dc739e55
update the readme
2011-12-27 19:13:27 +00:00
Martin Grenfell
5413e9d84e
make a cosmetic update to readme/screenshot
2011-12-27 19:10:13 +00:00
Martin Grenfell
3e73282693
update readme and add a screenshot
2011-12-27 19:05:16 +00:00
Martin Grenfell
e6224d770f
Merge pull request #136 from ixti/master
...
Updates js-yaml installation instructions
2011-12-24 13:56:29 -08:00
Aleksey V Zapparov
0d4a99c31b
Updates js-yaml installation comment
2011-12-24 22:26:33 +01:00
Martin Grenfell
d949b9415e
yaml: remove a stay line
...
This should never have been added - just a debugging leftover
2011-12-24 17:51:58 +00:00
Martin Grenfell
ab1906e72e
add yaml syntax checker
2011-12-24 13:18:18 +00:00
Martin Grenfell
54896becd3
bump to 2.2.0 and update changelog
2011-12-24 11:31:19 +00:00
Martin Grenfell
466f762841
add a ! to a function def
2011-12-24 11:05:51 +00:00
Martin Grenfell
d88db85b07
refactor g:syntastic_check_on_open
...
init g:syntastic_check_on_open with the rest of the options - this means
we only check exists("...") once rather than every time the autocmd is
run. Plus it reads better IMO.
2011-12-24 09:44:01 +00:00
kongo2002
9a9da94494
evaluate g:syntastic_check_on_open without having to restart vim
2011-12-24 01:33:07 +01:00
Martin Grenfell
9633837e16
dont do syntax checks when opening buffers
...
Only do syntax checks when saving files. Add the g:syntax_check_on_open
option to force the check when opening.
See #134
2011-12-23 23:46:39 +00:00
Martin Grenfell
58cd0d340c
update the javascript/jslint syntax checker
...
The jslint guys have changed their error format again. Update the syntax
checker to handle it.
Currently jslint outputs a "use strict" error if a function doesnt have
'use strict' at the top. This is not good for our purposes, so just
filter this out for now.
2011-12-23 23:09:03 +00:00
Martin Grenfell
7fe7900c8b
refactor s:AutoToggleLocList()
...
move some code out of AutoToggleLocList and into UpdateErrors so that
AutoToggleLocList is only responsible for displaying/hiding the location
list window
2011-12-23 13:56:49 +00:00
Martin Grenfell
224fd0f1a5
update credits
2011-12-22 00:18:14 +00:00
Martin Grenfell
2c6b271321
simpify s:ModeMapAllowsAutoChecking()
2011-12-22 00:10:13 +00:00
Martin Grenfell
d13264513d
Revert "remove the ability to check compound filetypes"
...
This reverts commit fb0259a4ef
.
Turns out there is a use case for this after all, as reported by
@benjifisher in #133
Conflicts:
plugin/syntastic.vim
2011-12-21 23:52:58 +00:00
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