splhack (owner)

Revisions

gist: 199457 Download_button fork
public
Public Clone URL: git://gist.github.com/199457.git
Embed All Files: show embed
AutoComplPop 2.8.1 #
1
2
3
4
5
6
7
8
9
10
11
12
13
--- autoload/acp.vim.orig 2009-09-15 22:54:34.000000000 +0900
+++ autoload/acp.vim 2009-10-02 13:08:38.000000000 +0900
@@ -136,6 +136,9 @@
   let s:posLast = getpos('.')
   if !exists('posPrev')
     return 1
+ elseif has('gui_macvim')
+ return (posPrev[2] + 1 == s:posLast[2] ||
+ \ posPrev[2] - 1 == s:posLast[2])
   elseif has('multi_byte_ime')
     return (posPrev[1] != s:posLast[1] || posPrev[2] + 1 == s:posLast[2] ||
           \ posPrev[2] > s:posLast[2])