Skip to content

Commit

Permalink
Bug fix: Don't perform automatic completion in strings/comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Oct 23, 2011
1 parent 3c49c27 commit 5cf57e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/xolox/lua.vim
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
" Vim auto-load script
" Author: Peter Odding <[email protected]>
" Last Change: October 16, 2011
" Last Change: October 23, 2011
" URL: http://peterodding.com/code/vim/lua-ftplugin

let g:xolox#lua#version = '0.6.24'
let g:xolox#lua#version = '0.6.25'
let s:miscdir = expand('<sfile>:p:h:h:h') . '/misc/lua-ftplugin'
let s:omnicomplete_script = s:miscdir . '/omnicomplete.lua'
let s:globals_script = s:miscdir . '/globals.lua'
Expand Down Expand Up @@ -225,7 +225,7 @@ function! xolox#lua#tokeniscode() " {{{1
endfunction

function! s:getsynid(transparent)
let id = synID(line('.'), col('.'), 1)
let id = synID(line('.'), col('.') - 1, 1)
if a:transparent
let id = synIDtrans(id)
endif
Expand Down

0 comments on commit 5cf57e0

Please sign in to comment.