Skip to content

Commit 8b746ef

Browse files
committed
Added S to bufferS
1 parent e6ba4eb commit 8b746ef

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

lib/funcs.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import autoload './highlight.vim'
66
import autoload './links.vim'
77

88
var visited_buffers = []
9-
var visited_buffer_max_length = 100
9+
var visited_buffers_max_length = 100
1010

1111
export def GoToPrevVisitedBuffer()
1212
if len(visited_buffers) > 1
@@ -18,7 +18,7 @@ enddef
1818

1919
export 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())

plugin/markdown_extras.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if exists('g:markdown_extras_loaded')
2626
endif
2727
g: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()
3232
augroup END

0 commit comments

Comments
 (0)