File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ This plugin adds some spice to the bundled [vim-markdown][3], such as:
1111
1212# Requirements
1313
14- Vim 9.0 is required.
15- You must set a ` <localleader> ` key and your ` vimrc ` shall include the following
16- lines:
14+ Vim 9.1-1270 is required.
15+ You must set a ` <localleader> ` key and your ` . vimrc` file shall include the
16+ following lines:
1717
1818```
1919 filetype indent plugin on
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import autoload './highlight.vim'
66import autoload ' ./links.vim'
77
88var visited_buffers = []
9- var visited_buffer_max_length = 100
9+ var visited_buffers_max_length = 100
1010
1111export def GoToPrevVisitedBuffer ()
1212 if len (visited_buffers) > 1
1818
1919export def AddVisitedBuffer ()
2020 if empty (visited_buffers) || bufnr () != visited_buffers[-1 ]
21- if len (visited_buffers) > visited_buffer_max_length
21+ if len (visited_buffers) > visited_buffers_max_length
2222 remove (visited_buffers, 0 )
2323 endif
2424 add (visited_buffers, bufnr ())
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if exists('g:markdown_extras_loaded')
2626endif
2727g: markdown_extras_loaded = true
2828
29- augroup MARKDOWN_EXTRAS_VISITED_BUFFER
29+ augroup MARKDOWN_EXTRAS_VISITED_BUFFERS
3030 autocmd !
3131 autocmd BufEnter *.md funcs.AddVisitedBuffer ()
3232augroup END
You can’t perform that action at this time.
0 commit comments