File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -248,11 +248,6 @@ require('lazy').setup({
248
248
-- Use `opts = {}` to automatically pass options to a plugin's `setup()` function, forcing the plugin to be loaded.
249
249
--
250
250
251
- { -- shows a floating buffer with the most useful vim keymaps
252
- ' Hashino/tutorial.nvim' ,
253
- opts = {},
254
- },
255
-
256
251
-- Alternatively, use `config = function() ... end` for full control over the configuration.
257
252
-- If you prefer to call `setup` explicitly, use:
258
253
-- {
@@ -459,6 +454,28 @@ require('lazy').setup({
459
454
end ,
460
455
},
461
456
457
+ { -- shows a floating buffer with the most useful vim keymaps
458
+ ' Hashino/tutorial.nvim' ,
459
+ config = function ()
460
+ require (' tutorial' ).setup {
461
+ enabled = true , -- whether to show Tutorial on startup
462
+
463
+ -- window configs of the floating Tutorial buffer
464
+ -- see :h nvim_open_win() for available options
465
+ float_win_config = {
466
+ relative = ' editor' ,
467
+
468
+ anchor = ' SW' ,
469
+
470
+ style = ' minimal' ,
471
+ border = ' rounded' , -- see :h winborder for available options
472
+
473
+ noautocmd = true ,
474
+ },
475
+ }
476
+ end ,
477
+ },
478
+
462
479
-- LSP Plugins
463
480
{
464
481
-- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
You can’t perform that action at this time.
0 commit comments