Skip to content

Commit

Permalink
deleted an obsolete recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed May 21, 2024
1 parent 4b5443c commit d7814e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ syntax on
let g:PhCtrlTrans = 0
runtime plugin/publish_helper.vim
" vim: ft=vim
```

You may need to source other plugins, for example *TagHighlight* which makes it
Expand All @@ -227,7 +229,7 @@ dynamically from the filter only for those code blocks that require it. To
accomplish this, put attribute *vars="PhCtrlTrans"* in such code blocks.

Global variables are also good for making selection between arbitrary
conditions. Imagine that script *.vimrc.pandoc* has lines
conditions. Imagine that script *.vimrc.pandoc* contains lines

```vim
if exists('g:load_TagHl')
Expand Down Expand Up @@ -332,18 +334,6 @@ and work faster.
options to customize visual parameters of code blocks. To see them, use
option *-h*.
* If you have installed vim plugin
[*pandoc*](https://github.com/vim-pandoc/vim-pandoc) then you'll probably
notice bad syntax highlighting when editing *.vimrc.pandoc* from vim. To make
it normal, change contents of file *.vim/ftdetect/pandoc.vim* to
```vim
au BufNewFile,BufRead *.markdown,*.md,*.mkd,*.pd,*.pdc,*.pdk,*.text
\ set filetype=pandoc
au BufNewFile,BufRead *.pandoc
\ if expand('<afile>:t') != '.vimrc.pandoc' | set filetype=pandoc
```
Miscellaneous commands
----------------------
Expand Down
14 changes: 3 additions & 11 deletions doc/publish_helper.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ optional). Here is an example of good .vimrc.pandoc contents:
let g:PhCtrlTrans = 0
runtime plugin/publish_helper.vim
" vim: ft=vim
<
You may need to source other plugins, for example TagHighlight which makes
possible to highlight tags generated by ctags.
Expand All @@ -220,7 +222,7 @@ dynamically from the filter only for those code blocks that require it. To
accomplish this put the new attribute vars="PhCtrlTrans" in such code blocks.

Global variables are also good for making selection between arbitrary
conditions. Imagine that script .vimrc.pandoc has lines
conditions. Imagine that script .vimrc.pandoc contains lines
>
if exists('g:load_TagHl')
colorscheme bandit
Expand Down Expand Up @@ -324,16 +326,6 @@ is preferable as vim will consume less resources and work fastest.
options to customize visual parameters of code blocks. To see them use
option -h.

- If you have installed vim plugin for pandoc
(http://www.vim.org/scripts/script.php?script_id=3730) then you'll probably
notice bad syntax highlighting when editing .vimrc.pandoc from vim. To make
it normal change content of .vim/ftdetect/pandoc.vim to
>
au BufNewFile,BufRead *.markdown,*.md,*.mkd,*.pd,*.pdc,*.pdk,*.text
\ set filetype=pandoc
au BufNewFile,BufRead *.pandoc
\ if expand('<afile>:t') != '.vimrc.pandoc' | set filetype=pandoc
<
==============================================================================
*publish_helper-misc-commands*
5. Miscellaneous commands~
Expand Down

0 comments on commit d7814e2

Please sign in to comment.