Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug fix: Overlay argument count highlighting
  • Loading branch information
xolox committed Aug 12, 2010
1 parent 2d671c4 commit 7f9cbd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luainspect.vim
Expand Up @@ -2,7 +2,7 @@
" Author: Peter Odding <peter@peterodding.com>
" Last Change: August 12, 2010
" URL: http://peterodding.com/code/vim/lua-inspect/
" Version: 0.3.7
" Version: 0.3.8
" License: MIT

" Support for automatic update using the GLVS plug-in.
Expand Down Expand Up @@ -251,7 +251,7 @@ function! s:highlight_variables() " {{{2
if s:check_output(line, '^\w\+\(\s\+\d\+\)\{3}$')
let [group, linenum, firstcol, lastcol] = split(line)
let pattern = s:highlight_position(linenum + 0, firstcol - 1, lastcol + 2)
if group == 'luaInspectWarning'
if group == 'luaInspectWrongArgCount'
call matchadd(group, pattern)
elseif group == 'luaInspectSelectedVariable'
call matchadd(group, pattern, 20)
Expand Down

0 comments on commit 7f9cbd6

Please sign in to comment.