aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/syntastic.vim
diff options
context:
space:
mode:
authorBen Beltran <ben@freshout.us>2013-06-05 10:50:57 -0500
committerBen Beltran <ben@freshout.us>2013-06-05 10:50:57 -0500
commitfe337504f2fb3ded76326b1e3d4d02787a27d853 (patch)
treeb84891d78de37ae078ea9850a541799b5bca8085 /vim/autoload/syntastic.vim
parente23d7a9f7363bdc69e95a1df31e093db15459fcf (diff)
Aand that's all the plugins.
Diffstat (limited to 'vim/autoload/syntastic.vim')
-rw-r--r--vim/autoload/syntastic.vim24
1 files changed, 0 insertions, 24 deletions
diff --git a/vim/autoload/syntastic.vim b/vim/autoload/syntastic.vim
deleted file mode 100644
index a477736..0000000
--- a/vim/autoload/syntastic.vim
+++ /dev/null
@@ -1,24 +0,0 @@
-
-function! syntastic#ErrorBalloonExpr()
- if !exists('b:syntastic_balloons') | return '' | endif
- return get(b:syntastic_balloons, v:beval_lnum, '')
-endfunction
-
-function! syntastic#HighlightErrors(errors, termfunc, ...)
- call clearmatches()
- let forcecb = a:0 && a:1
- for item in a:errors
- let group = item['type'] == 'E' ? 'SpellBad' : 'SpellCap'
- if item['col'] && !forcecb
- let lastcol = col([item['lnum'], '$'])
- let lcol = min([lastcol, item['col']])
- call matchadd(group, '\%'.item['lnum'].'l\%'.lcol.'c')
- else
- let term = a:termfunc(item)
- if len(term) > 0
- call matchadd(group, '\%' . item['lnum'] . 'l' . term)
- endif
- endif
- endfor
-endfunction
-