diff --git a/lua/cosmic/core/user.lua b/lua/cosmic/core/user.lua index 023bac5..efdaa98 100644 --- a/lua/cosmic/core/user.lua +++ b/lua/cosmic/core/user.lua @@ -15,6 +15,8 @@ local default_config = { format_timeout = 3000, rename_notification = true, servers = { + astro = true, + tailwindcss = true, jsonls = { format = false, }, diff --git a/lua/cosmic/packer.lua b/lua/cosmic/packer.lua index 9703731..a29cf02 100644 --- a/lua/cosmic/packer.lua +++ b/lua/cosmic/packer.lua @@ -30,9 +30,7 @@ if not present then end end --- @TODO: check if snapshot exists, if not create it packer.init({ - -- snapshot = 'Cosmic', display = { open_fn = function() return require('packer.util').float({ border = 'rounded' }) @@ -43,6 +41,7 @@ packer.init({ clone_timeout = 800, -- Timeout, in seconds, for git clones }, compile_path = vim.fn.stdpath('config') .. '/lua/cosmic/compiled.lua', + snapshot_path = vim.fn.stdpath('config') .. '/snapshots', auto_clean = true, compile_on_sync = true, }) diff --git a/snapshots/snapshots b/snapshots/snapshots new file mode 120000 index 0000000..a1b5756 --- /dev/null +++ b/snapshots/snapshots @@ -0,0 +1 @@ +/Users/matt/.config/nvim/snapshots \ No newline at end of file