Add packer snapshots
This commit is contained in:
parent
cfac67c5b5
commit
bcf7ea595a
3 changed files with 4 additions and 2 deletions
|
@ -15,6 +15,8 @@ local default_config = {
|
||||||
format_timeout = 3000,
|
format_timeout = 3000,
|
||||||
rename_notification = true,
|
rename_notification = true,
|
||||||
servers = {
|
servers = {
|
||||||
|
astro = true,
|
||||||
|
tailwindcss = true,
|
||||||
jsonls = {
|
jsonls = {
|
||||||
format = false,
|
format = false,
|
||||||
},
|
},
|
||||||
|
|
|
@ -30,9 +30,7 @@ if not present then
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- @TODO: check if snapshot exists, if not create it
|
|
||||||
packer.init({
|
packer.init({
|
||||||
-- snapshot = 'Cosmic',
|
|
||||||
display = {
|
display = {
|
||||||
open_fn = function()
|
open_fn = function()
|
||||||
return require('packer.util').float({ border = 'rounded' })
|
return require('packer.util').float({ border = 'rounded' })
|
||||||
|
@ -43,6 +41,7 @@ packer.init({
|
||||||
clone_timeout = 800, -- Timeout, in seconds, for git clones
|
clone_timeout = 800, -- Timeout, in seconds, for git clones
|
||||||
},
|
},
|
||||||
compile_path = vim.fn.stdpath('config') .. '/lua/cosmic/compiled.lua',
|
compile_path = vim.fn.stdpath('config') .. '/lua/cosmic/compiled.lua',
|
||||||
|
snapshot_path = vim.fn.stdpath('config') .. '/snapshots',
|
||||||
auto_clean = true,
|
auto_clean = true,
|
||||||
compile_on_sync = true,
|
compile_on_sync = true,
|
||||||
})
|
})
|
||||||
|
|
1
snapshots/snapshots
Symbolic link
1
snapshots/snapshots
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/Users/matt/.config/nvim/snapshots
|
Loading…
Add table
Reference in a new issue