@@ -248,10 +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
251
256
252
-- Alternatively, use `config = function() ... end` for full control over the configuration.
257
253
-- If you prefer to call `setup` explicitly, use:
@@ -295,7 +291,7 @@ require('lazy').setup({
295
291
-- Then, because we use the `opts` key (recommended), the configuration runs
296
292
-- after the plugin has been loaded as `require(MODULE).setup(opts)`.
297
293
298
- { -- Useful plugin to show you pending keybinds.
294
+ { -- Useful plugin to show you pending keybinds.
299
295
' folke/which-key.nvim' ,
300
296
event = ' VimEnter' , -- Sets the loading event to 'VimEnter'
301
297
opts = {
@@ -376,7 +372,7 @@ require('lazy').setup({
376
372
{ ' nvim-telescope/telescope-ui-select.nvim' },
377
373
378
374
-- Useful for getting pretty icons, but requires a Nerd Font.
379
- { ' nvim-tree/nvim-web-devicons' , enabled = vim .g .have_nerd_font },
375
+ { ' nvim-tree/nvim-web-devicons' , enabled = vim .g .have_nerd_font },
380
376
},
381
377
config = function ()
382
378
-- Telescope is a fuzzy finder that comes with a lot of different things that
@@ -459,6 +455,28 @@ require('lazy').setup({
459
455
end ,
460
456
},
461
457
458
+ { -- shows a floating buffer with the most useful vim keymaps
459
+ ' Hashino/tutorial.nvim' ,
460
+ config = function ()
461
+ require (" tutorial" ).setup ({
462
+ enabled = true , -- whether to show Tutorial on startup
463
+
464
+ -- window configs of the floating Tutorial buffer
465
+ -- see :h nvim_open_win() for available options
466
+ edit_win_config = {
467
+ relative = " editor" ,
468
+
469
+ anchor = " SW" ,
470
+
471
+ style = " minimal" ,
472
+ border = " rounded" , -- see :h winborder for available options
473
+
474
+ noautocmd = true ,
475
+ },
476
+ })
477
+ end
478
+ },
479
+
462
480
-- LSP Plugins
463
481
{
464
482
-- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
@@ -484,7 +502,7 @@ require('lazy').setup({
484
502
' WhoIsSethDaniel/mason-tool-installer.nvim' ,
485
503
486
504
-- Useful status updates for LSP.
487
- { ' j-hui/fidget.nvim' , opts = {} },
505
+ { ' j-hui/fidget.nvim' , opts = {} },
488
506
489
507
-- Allows extra capabilities provided by blink.cmp
490
508
' saghen/blink.cmp' ,
0 commit comments