From 4fa3a17b108107b20dbd195745dbe2bc1f31afb9 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Wed, 20 Nov 2013 17:55:49 +0900 Subject: [PATCH 1/2] - Fixed #191 register broken --- autoload/neosnippet.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index 2930514..97378ce 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: neosnippet.vim " AUTHOR: Shougo Matsushita -" Last Modified: 18 Nov 2013. +" Last Modified: 20 Nov 2013. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the @@ -1148,7 +1148,7 @@ function! s:trigger(function) "{{{ let neosnippet = neosnippet#get_current_neosnippet() let neosnippet.trigger = 1 if mode() ==# 's' && neosnippet.selected_text =~ '^#:' - let expr .= "a\" + let expr .= "\\"_d" endif let expr .= printf("\:call %s(%s,%d)\", From eba42def68f6340ed1508ce9d0b5af94f735749c Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Wed, 20 Nov 2013 18:01:49 +0900 Subject: [PATCH 2/2] - Fixed mappings. --- autoload/neosnippet/mappings.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/neosnippet/mappings.vim b/autoload/neosnippet/mappings.vim index 85fdbf0..b9a1762 100644 --- a/autoload/neosnippet/mappings.vim +++ b/autoload/neosnippet/mappings.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: mappings.vim " AUTHOR: Shougo Matsushita -" Last Modified: 19 Nov 2013. +" Last Modified: 20 Nov 2013. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " 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.trigger = 1 if mode() ==# 's' && neosnippet.selected_text =~ '^#:' - let expr .= "a\" + let expr .= "\\"_d" endif let expr .= printf("\:call %s(%s,%d)\",