feat: added configs for tutorial.nvim
This commit is contained in:
parent
e80f48d8ab
commit
22cfbc51bb
25
init.lua
25
init.lua
|
@ -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.
|
||||
--
|
||||
|
||||
{ -- 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.
|
||||
-- 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.
|
||||
--
|
||||
-- This is often very useful to both group configuration, as well as handle
|
||||
|
|
Loading…
Reference in New Issue