Merge branch 'refactor' of https://github.com/Shougo/neosnippet.vim into refactor

This commit is contained in:
Shougo Matsushita 2013-11-21 11:21:06 +09:00
commit 374a77c59d
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
"============================================================================= "=============================================================================
" FILE: neosnippet.vim " FILE: neosnippet.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> " AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 19 Nov 2013. " Last Modified: 20 Nov 2013.
" License: MIT license {{{ " License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining " Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the " a copy of this software and associated documentation files (the

View File

@ -1,7 +1,7 @@
"============================================================================= "=============================================================================
" FILE: mappings.vim " FILE: mappings.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> " AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 19 Nov 2013. " Last Modified: 20 Nov 2013.
" License: MIT license {{{ " License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining " Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the " a copy of this software and associated documentation files (the
@ -126,7 +126,7 @@ function! s:trigger(function) "{{{
let neosnippet = neosnippet#get_current_neosnippet() let neosnippet = neosnippet#get_current_neosnippet()
let neosnippet.trigger = 1 let neosnippet.trigger = 1
if mode() ==# 's' && neosnippet.selected_text =~ '^#:' if mode() ==# 's' && neosnippet.selected_text =~ '^#:'
let expr .= "a\<BS>" let expr .= "\<C-o>\"_d"
endif endif
let expr .= printf("\<ESC>:call %s(%s,%d)\<CR>", let expr .= printf("\<ESC>:call %s(%s,%d)\<CR>",