File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,10 @@ INTERFACE *scratch-buffer-interface*
7272VARIABLES *scratch-buffer-variables*
7373
7474*g:scratch_buffer_file_pattern*
75- Type: `{ when_tmp_buffer?: string, when_file_buffer?: string }`
75+ Type (Vim): `{ when_tmp_buffer?: string, when_file_buffer?: string }`
76+
77+ (The type is different if you are using Neovim.
78+ Please see below 'NOTICE for Neovim:' section.)
7679
7780 A dictionary specifying file patterns for different buffer types.
7881 Has two keys:
@@ -120,6 +123,12 @@ VARIABLES *scratch-buffer-variables*
120123 The latter buffer type will overwrite the former as well if the order
121124 is reversed.
122125
126+ NOTICE for Neovim:
127+ You must set this properties exactly if you are using Neovim.
128+ Meaning:
129+ - Type (Neovim): `{ when_tmp_buffer: string, when_file_buffer: string }`
130+ This is a limitation of Neovim's Vim script compatibility.
131+
123132*g:scratch_buffer_default_file_ext*
124133 Type: `string `
125134 Default: `' md' `
You can’t perform that action at this time.
0 commit comments