From 66ddded2582fe0e3968dc4931d6d3fdabdc48aeb Mon Sep 17 00:00:00 2001 From: Reed Esau Date: Wed, 3 Sep 2014 05:56:44 -0600 Subject: [PATCH] Expand word definitions to fix #12 --- autoload/pencil.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/pencil.vim b/autoload/pencil.vim index 23a3ba6..8f0d211 100644 --- a/autoload/pencil.vim +++ b/autoload/pencil.vim @@ -200,9 +200,12 @@ fun! pencil#init(...) abort " definition of a word (via iskeyword) we'll impose a prose- " oriented definition. " e.g., let g:markdown_fenced_languages = ['sh',] " adds '.' + " + " Support $20 30% D&D #40 highest-rated O'Toole Mary's + " TODO how to separate quote from apostrophe use? if b:pencil_wrap_mode aug pencil_iskeyword - au BufEnter setl isk& | setl isk-=_ + au BufEnter setl isk& | setl isk-=_ | setl isk+=$,%,&,#,-,' aug END el sil! au! pencil_iskeyword *