]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

document `conceal_code_blocks` in README.md
authorStick <nstickney@pm.me>
Wed, 5 Jun 2019 01:26:39 +0000 (21:26 -0400)
committerStick <nstickney@pm.me>
Wed, 5 Jun 2019 01:26:39 +0000 (21:26 -0400)
I set `conceallevel=0` in .vimrc, as well as `g:vim_markdown_conceal =
0` but code fences were still being hidden. I could not find this option
documented anywhere, so I went to the source code. Adding the
`g:vim_markdown_conceal_code_blocks = 0` fixed my problem, and I assume
other people will want to find this in the future.

README.md

index b67917a7804edd75ea145ab8bdc4f6352c263ade..9f93316cb94d258372d49a6d661dca13dddf81b2 100644 (file)
--- a/README.md
+++ b/README.md
@@ -179,7 +179,13 @@ set conceallevel=2
 To disable conceal regardless of `conceallevel` setting, add the following to your `.vimrc`:
 
 ```vim
 To disable conceal regardless of `conceallevel` setting, add the following to your `.vimrc`:
 
 ```vim
-let g:vim_markdown_conceal = 0
+let g:vim_markdown_conceal = 0 
+```
+
+Disabling conceal for code fences requires an additional setting:
+
+```vim
+let g:vim_markdown_conceal_code_blocks = 0
 ```
 
 To disable math conceal with LaTeX math syntax enabled, add the following to your `.vimrc`:
 ```
 
 To disable math conceal with LaTeX math syntax enabled, add the following to your `.vimrc`: