Skip to content

Commit

Permalink
Change ASCII style bidirectional arrows to Unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Jun 17, 2014
1 parent 825230a commit 2e416bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/xolox/notes.vim
Expand Up @@ -6,7 +6,7 @@
" Note: This file is encoded in UTF-8 including a byte order mark so
" that Vim loads the script using the right encoding transparently.

let g:xolox#notes#version = '0.23.8'
let g:xolox#notes#version = '0.23.9'
let g:xolox#notes#url_pattern = '\<\(mailto:\|javascript:\|\w\{3,}://\)\(\S*\w\)\+/\?'
let s:scriptdir = expand('<sfile>:p:h')

Expand Down
3 changes: 2 additions & 1 deletion ftplugin/notes.vim
@@ -1,6 +1,6 @@
" Vim file type plug-in
" Author: Peter Odding <peter@peterodding.com>
" Last Change: May 16, 2013
" Last Change: June 18, 2014
" URL: http://peterodding.com/code/vim/notes/

if exists('b:did_ftplugin')
Expand Down Expand Up @@ -73,6 +73,7 @@ endif
if g:notes_smart_quotes && xolox#notes#unicode_enabled()
inoremap <buffer> ->
inoremap <buffer> <-
inoremap <buffer> <->
let b:undo_ftplugin .= ' | execute "iunmap <buffer> ->"'
let b:undo_ftplugin .= ' | execute "iunmap <buffer> <-"'
endif
Expand Down

0 comments on commit 2e416bd

Please sign in to comment.