File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed
plugins/by-name/dashboard
tests/test-sources/plugins/by-name/dashboard Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ helpers.neovim-plugin.mkNeovimPlugin {
246
246
} ;
247
247
248
248
header =
249
- helpers . defaultNullOpts . mkListOf types . str
249
+ helpers . defaultNullOpts . mkNullableWithRaw ( with types ; either str ( listOf ( maybeRaw str ) ) )
250
250
[
251
251
""
252
252
" ██████╗ █████╗ ███████╗██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ ██████╗ "
Original file line number Diff line number Diff line change 203
203
} ;
204
204
} ;
205
205
} ;
206
+
207
+ header-raw = {
208
+ plugins . dashboard = {
209
+ enable = true ;
210
+
211
+ settings . config . header . __raw = ''
212
+ function()
213
+ return {
214
+ "",
215
+ " ██████╗ █████╗ ███████╗██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ ██████╗ ",
216
+ " ██╔══██╗██╔══██╗██╔════╝██║ ██║██╔══██╗██╔═══██╗██╔══██╗██╔══██╗██╔══██╗ ",
217
+ " ██║ ██║███████║███████╗███████║██████╔╝██║ ██║███████║██████╔╝██║ ██║ ",
218
+ " ██║ ██║██╔══██║╚════██║██╔══██║██╔══██╗██║ ██║██╔══██║██╔══██╗██║ ██║ ",
219
+ " ██████╔╝██║ ██║███████║██║ ██║██████╔╝╚██████╔╝██║ ██║██║ ██║██████╔╝ ",
220
+ " ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ",
221
+ ""
222
+ }
223
+ end
224
+ '' ;
225
+ } ;
226
+ } ;
227
+
228
+ header-line-raw = {
229
+ plugins . dashboard = {
230
+ enable = true ;
231
+
232
+ settings . config . header = [
233
+ {
234
+ __raw = ''
235
+ function()
236
+ return {
237
+ "",
238
+ " ██████╗ █████╗ ███████╗██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ ██████╗ ",
239
+ " ██╔══██╗██╔══██╗██╔════╝██║ ██║██╔══██╗██╔═══██╗██╔══██╗██╔══██╗██╔══██╗ ",
240
+ " ██║ ██║███████║███████╗███████║██████╔╝██║ ██║███████║██████╔╝██║ ██║ ",
241
+ " ██║ ██║██╔══██║╚════██║██╔══██║██╔══██╗██║ ██║██╔══██║██╔══██╗██║ ██║ ",
242
+ " ██████╔╝██║ ██║███████║██║ ██║██████╔╝╚██████╔╝██║ ██║██║ ██║██████╔╝ ",
243
+ " ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ",
244
+ ""
245
+ }
246
+ end
247
+ '' ;
248
+ }
249
+ ] ;
250
+ } ;
251
+ } ;
206
252
}
You can’t perform that action at this time.
0 commit comments