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({
248248 -- Use `opts = {}` to automatically pass options to a plugin's `setup()` function, forcing the plugin to be loaded.
249249 --
250250
251- { -- shows a floating buffer with the most useful vim keymaps
252- ' Hashino/tutorial.nvim' ,
253- opts = {},
254- },
255-
256251 -- Alternatively, use `config = function() ... end` for full control over the configuration.
257252 -- If you prefer to call `setup` explicitly, use:
258253 -- {
@@ -459,6 +454,28 @@ require('lazy').setup({
459454 end ,
460455 },
461456
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+
462479 -- LSP Plugins
463480 {
464481 -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins
You can’t perform that action at this time.
0 commit comments