mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-12 11:53:47 -05:00
Break out of whitelist loop; reword install docs
This commit is contained in:
@@ -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 %
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user