feat: added configs for tutorial.nvim

This commit is contained in:
Hashino 2025-05-08 10:44:47 -03:00
parent e80f48d8ab
commit 22cfbc51bb
1 changed files with 20 additions and 5 deletions

View File

@ -248,11 +248,6 @@ require('lazy').setup({
-- Use `opts = {}` to automatically pass options to a plugin's `setup()` function, forcing the plugin to be loaded. -- Use `opts = {}` to automatically pass options to a plugin's `setup()` function, forcing the plugin to be loaded.
-- --
{ -- shows a floating buffer with the most useful vim keymaps
'Hashino/tutorial.nvim',
opts = {},
},
-- Alternatively, use `config = function() ... end` for full control over the configuration. -- Alternatively, use `config = function() ... end` for full control over the configuration.
-- If you prefer to call `setup` explicitly, use: -- If you prefer to call `setup` explicitly, use:
-- { -- {
@ -281,6 +276,26 @@ require('lazy').setup({
}, },
}, },
{ -- shows a floating buffer with the most useful vim keymaps
'Hashino/tutorial.nvim',
opts = {
enabled = true, -- whether to show Tutorial on startup
-- window configs of the floating Tutorial buffer
-- see :h nvim_open_win() for available options
float_win_config = {
relative = 'editor',
anchor = 'SW',
style = 'minimal',
border = 'rounded', -- see :h winborder for available options
noautocmd = true,
},
},
},
-- NOTE: Plugins can also be configured to run Lua code when they are loaded. -- NOTE: Plugins can also be configured to run Lua code when they are loaded.
-- --
-- This is often very useful to both group configuration, as well as handle -- This is often very useful to both group configuration, as well as handle