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*
72
72
VARIABLES *scratch-buffer-variables*
73
73
74
74
*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.)
76
79
77
80
A dictionary specifying file patterns for different buffer types.
78
81
Has two keys:
@@ -120,6 +123,12 @@ VARIABLES *scratch-buffer-variables*
120
123
The latter buffer type will overwrite the former as well if the order
121
124
is reversed.
122
125
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
+
123
132
*g:scratch_buffer_default_file_ext*
124
133
Type: `string `
125
134
Default: `' md' `
You can’t perform that action at this time.
0 commit comments