diff --git a/README.markdown b/README.markdown index 9aa426c..91b93f9 100644 --- a/README.markdown +++ b/README.markdown @@ -84,13 +84,13 @@ tutorials available._ ## Vundle -Add to your `.vimrc`: +Add to your `.vimrc` and save: ```vim Plugin 'reedes/vim-pencil' ``` -…save and then run the following in Vim: +…then run the following in Vim: ```vim :source % @@ -101,13 +101,13 @@ For Vundle version < 0.10.2, replace `Plugin` with `Bundle` above. ## vim-plug -Add to your `.vimrc`: +Add to your `.vimrc` and save: ```vim Plug 'reedes/vim-pencil' ``` -…save and then run the following in Vim: +…then run the following in Vim: ```vim :source % @@ -116,13 +116,13 @@ Plug 'reedes/vim-pencil' ## NeoBundle -Add to your `.vimrc`: +Add to your `.vimrc` and save: ```vim NeoBundle 'reedes/vim-pencil' ``` -…save and then run the following in Vim: +…then run the following in Vim: ```vim :source % diff --git a/autoload/pencil.vim b/autoload/pencil.vim index 532a9b7..3131a93 100644 --- a/autoload/pencil.vim +++ b/autoload/pencil.vim @@ -110,6 +110,7 @@ fun! s:maybe_enable_autoformat() if match(synIDattr(l:sid, 'name'), \ g:pencil#autoformat_inline_whitelist_re) >= 0 let l:okay_to_enable = 1 + break en endfo en