@@ -967,29 +967,29 @@ register_sign_spec({spec}) *scrollview.register_sign_spec()*
967
967
968
968
Parameters: ~
969
969
* {spec} (table) Keyword arguments | kwargs | :
970
- - current_only (boolean): Show only in an current window (the
970
+ + current_only (boolean): Show only in an current window (the
971
971
window with the cursor at the time of display). Defaults to
972
972
`false` .
973
- - extend (boolean): Show each sign on all corresponding rows
973
+ + extend (boolean): Show each sign on all corresponding rows
974
974
of the scrollview column, instead of just a single row. This
975
975
is relevant when | scrollview_always_show | is on and all lines
976
976
and at least one filler line are visible.
977
- - group (string): Defaults to `' other' ` .
978
- - highlight (string): Defaults to `' Pmenu' ` .
979
- - priority (integer): Defaults to `50 ` .
980
- - show_in_folds (boolean|nil): Include signs for lines in
977
+ + group (string): Defaults to `' other' ` .
978
+ + highlight (string): Defaults to `' Pmenu' ` .
979
+ + priority (integer): Defaults to `50 ` .
980
+ + show_in_folds (boolean|nil): Include signs for lines in
981
981
closed folds. When non-`nil` , overrides the value of
982
982
| scrollview_signs_show_in_folds | . Defaults to `nil` .
983
- - symbol (string): Defaults to `' ' ` .
984
- - type (string): `' b' ` for buffer-local signs, `' w' ` for
983
+ + symbol (string): Defaults to `' ' ` .
984
+ + type (string): `' b' ` for buffer-local signs, `' w' ` for
985
985
window-local signs. Defaults to `' b' ` .
986
- - variant (string|nil): Used for groups that include multiple
986
+ + variant (string|nil): Used for groups that include multiple
987
987
variants. Defaults to `nil` .
988
988
989
989
Return: ~
990
990
(table) a table with the following key-value pairs.
991
- - id (integer): A unique identifier.
992
- - name (string): Variable name that should be used for saving
991
+ + id (integer): A unique identifier.
992
+ + name (string): Variable name that should be used for saving
993
993
a list-like table with line numbers corresponding to signs.
994
994
The variable should be saved to the buffer if the
995
995
registration specified type `' b' ` , or to the window if the
@@ -1131,13 +1131,13 @@ Error Message Issues ~
1131
1131
E5601: Cannot close window, only floating window would remain
1132
1132
< Neovim Issue #11440 is the corresponding issue, opened November 23, 2019
1133
1133
and closed February 11, 2022.
1134
- - Workaround 1: Use | :quit | , | ZZ | , | ZQ | , or another command that quits the
1134
+ + Workaround 1: Use | :quit | , | ZZ | , | ZQ | , or another command that quits the
1135
1135
current window (as opposed to a window-closing command).
1136
- - Workaround 2: Use | :only | or `<ctrl-w> o ` on the last window of the tab,
1136
+ + Workaround 2: Use | :only | or `<ctrl-w> o ` on the last window of the tab,
1137
1137
which has the side-effect of closing all floating windows (including
1138
1138
scrollbars). A subsequent window-closing command works without error.
1139
- - Workaround 3: Use | :tabclose | .
1140
- - Workaround 4: Remap the problematic key sequence accordingly. >
1139
+ + Workaround 3: Use | :tabclose | .
1140
+ + Workaround 4: Remap the problematic key sequence accordingly. >
1141
1141
nnoremap <silent> <c-w>c
1142
1142
\ <cmd>silent! ScrollViewDisable<cr>
1143
1143
\<cmd>execute "normal! \<c-w>c"<cr>
@@ -1154,10 +1154,10 @@ Error Message Issues ~
1154
1154
E444: Cannot close last window
1155
1155
< The buffer may not be deleted from the buffer list. Neovim Issue #13628 is
1156
1156
the corresponding issue, opened December 28, 2020 and closed March 23, 2022.
1157
- - Workaround 1: Use | :only | or `<ctrl-w> o ` , which has the side-effect of closing
1157
+ + Workaround 1: Use | :only | or `<ctrl-w> o ` , which has the side-effect of closing
1158
1158
all floating windows (including scrollbars). A subsequent | :bdelete | command
1159
1159
works without error.
1160
- - Workaround 2: Create a `Bdelete` command that avoids the issue. >
1160
+ + Workaround 2: Create a `Bdelete` command that avoids the issue. >
1161
1161
command Bdelete
1162
1162
\ silent! ScrollViewDisable
1163
1163
\ | bdelete
@@ -1168,15 +1168,15 @@ Other Issues ~
1168
1168
* For `nvim<= 0.7 .0 ` , sessions cannot be properly restored by | :mksession | scripts
1169
1169
created when the plugin is active (Issue #71). Neovim Issue #18432 is the
1170
1170
corresponding issue, opened May 5, 2022.
1171
- - Workaround: Create a `MkSession` command that avoids the problem. >
1171
+ + Workaround: Create a `MkSession` command that avoids the problem. >
1172
1172
command -bang -nargs=? MkSession
1173
1173
\ silent! ScrollViewDisable
1174
1174
\ | mksession<bang> <args>
1175
1175
\ | silent! ScrollViewEnable
1176
1176
1177
1177
* Because scrollbars are floating windows, they are included in the window
1178
1178
count returned by `winnr (' $' )` .
1179
- - Workaround 1: Use a Vimscript function that omits external and floating
1179
+ + Workaround 1: Use a Vimscript function that omits external and floating
1180
1180
windows in the count. >
1181
1181
function! WindowCount()
1182
1182
let l:result = 0
@@ -1189,7 +1189,7 @@ Other Issues ~
1189
1189
endfor
1190
1190
return l:result
1191
1191
endfunction
1192
- < - Workaround 2: Use a Lua function that omits external and floating windows
1192
+ < + Workaround 2: Use a Lua function that omits external and floating windows
1193
1193
in the count. >
1194
1194
local window_count = function()
1195
1195
local result = 0
0 commit comments