Add auto-save + start screen
This commit is contained in:
parent
1023086716
commit
ea6c581064
3 changed files with 46 additions and 25 deletions
12
lua/custom/plugins/alpha-nvim.lua
Normal file
12
lua/custom/plugins/alpha-nvim.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
return {
|
||||
'goolord/alpha-nvim',
|
||||
-- dependencies = { 'echasnovski/mini.icons' },
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
local startify = require 'alpha.themes.startify'
|
||||
-- available: devicons, mini, default is mini
|
||||
-- if provider not loaded and enabled is true, it will try to use another provider
|
||||
startify.file_icons.provider = 'devicons'
|
||||
require('alpha').setup(startify.config)
|
||||
end,
|
||||
}
|
||||
7
lua/custom/plugins/auto-save.lua
Normal file
7
lua/custom/plugins/auto-save.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'okuuva/auto-save.nvim',
|
||||
version = '^1.0.0', -- see https://devhints.io/semver, alternatively use '*' to use the latest tagged release
|
||||
cmd = 'ASToggle', -- optional for lazy loading on command
|
||||
event = { 'InsertLeave', 'TextChanged' }, -- optional for lazy loading on trigger events
|
||||
opts = {},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue