fix autosave plugin settings

This commit is contained in:
Maciej Lebiest 2023-05-02 20:33:56 +02:00
parent a77c14a94c
commit 5cefd8c21e
2 changed files with 15 additions and 7 deletions

View file

@ -40,8 +40,7 @@ require("lazy").setup({
}, },
{ {
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
init = require('plugins.nvim-lspconfig').init, init = require('plugins.nvim-lspconfig').init
priority = 10
}, },
{ {
'mfussenegger/nvim-lint', 'mfussenegger/nvim-lint',
@ -92,10 +91,13 @@ require("lazy").setup({
'preservim/nerdcommenter', 'preservim/nerdcommenter',
keys = require('plugins.nerdcommenter').keys keys = require('plugins.nerdcommenter').keys
}, },
{ 'rmagatti/auto-session' }, {
'rmagatti/auto-session',
opts = require('plugins.auto-session').config
},
{ 'tpope/vim-fugitive' }, { 'tpope/vim-fugitive' },
{ 'Glench/Vim-Jinja2-Syntax', priority=15 }, { 'Glench/Vim-Jinja2-Syntax', priority = 15 },
{ 'vmware-archive/salt-vim', priority=10 }, { 'vmware-archive/salt-vim', priority = 10 },
{ 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja { 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja
{ {
'lukas-reineke/indent-blankline.nvim', 'lukas-reineke/indent-blankline.nvim',

View file

@ -0,0 +1,6 @@
return {
config = {
auto_save_enabled = true,
auto_restore_enabled = true
}
}