Created
November 7, 2014 09:49
-
-
Save othree/03c9c7b40407c99b4061 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let behavs = { 'javascript': [], 'html': [] } | |
call add(behavs.javascript, { | |
\ 'command' : "\<C-x>\<C-u>", | |
\ 'completefunc' : 'acp#completeSnipmate', | |
\ 'meets' : 'acp#meetsForSnipmate', | |
\ 'onPopupClose' : 'acp#onPopupCloseSnipmate', | |
\ 'repeat' : 0, | |
\}) | |
call add(behavs.javascript, { | |
\ 'command' : g:acp_behaviorKeywordCommand, | |
\ 'meets' : 'acp#meetsForKeyword', | |
\ 'repeat' : 0, | |
\ }) | |
call add(behavs.javascript, { | |
\ 'command' : "\<C-x>\<C-o>", | |
\ 'meets' : 'AcpMeetsForJavaScript', | |
\ 'repeat' : 0, | |
\}) | |
call add(behavs.html, { | |
\ 'command' : "\<C-x>\<C-o>", | |
\ 'meets' : 'AcpMeetsForHtmlOmni', | |
\ 'repeat' : 1, | |
\}) | |
let g:acp_behavior = {} | |
call extend(g:acp_behavior, behavs, 'keep') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment