mirror of
https://github.com/preservim/vim-colors-pencil.git
synced 2025-11-08 11:23:47 -05:00
More details on using Vim's conceal feature
This commit is contained in:
@@ -18,9 +18,8 @@ This Vim color scheme features:
|
||||
* Support for [tpope/vim-markdown][tm], [plasticboy/vim-markdown][pm], and
|
||||
[gabrielelana/vim-markdown][gm]
|
||||
* Support for the [bling/vim-airline][ba] status bar plugin
|
||||
* Support for Vim’s Conceal feature to hide `_` and `*` characters when
|
||||
displaying \_*italic*\_, \*\*__bold__\*\* and \*\*\*___bold
|
||||
italic___\*\*\* styled text in Markdown
|
||||
* Support for Vim’s Conceal feature to hide `_` and `*` markup for
|
||||
\_*italic*\_, \*\*__bold__\*\* and \*\*\*___bold italic___\*\*\* styled text in Markdown
|
||||
|
||||
[tm]: http://github.com/tpope/vim-markdown
|
||||
[pm]: http://github.com/plasticboy/vim-markdown
|
||||
@@ -86,6 +85,25 @@ let g:airline_theme = 'pencil'
|
||||
|
||||
[al]: https://github.com/bling/vim-airline
|
||||
|
||||
### Concealing \_\_styling markup\_\_ in Markdown
|
||||
|
||||
The _pencil_ color scheme supports the highlighting groups in the
|
||||
[tpope/vim-markdown][tm] syntax plugin, to take advantage of Vim’s Conceal
|
||||
feature to hide `_` and `*` markup for \_*italic*\_, \*\*__bold__\*\* and
|
||||
\*\*\*___bold italic___\*\*\* styled text in Markdown
|
||||
|
||||
See the [vim-pencil][pn] plugin for details on automatically enabling this
|
||||
feature.
|
||||
|
||||
For more details on Vim’s Conceal feature, see:
|
||||
|
||||
```vim
|
||||
:help conceallevel
|
||||
:help concealcursor
|
||||
```
|
||||
|
||||
[tm]: http://github.com/tpope/vim-markdown
|
||||
|
||||
## Usage
|
||||
|
||||
Just like any other color scheme:
|
||||
|
||||
Reference in New Issue
Block a user