diff --git a/lua/cosmic/config/config.lua b/lua/cosmic/config/config.lua index 1ac54ba..55f630a 100644 --- a/lua/cosmic/config/config.lua +++ b/lua/cosmic/config/config.lua @@ -1,13 +1,12 @@ -- Override Cosmic configuration options ---[[ -local config = {} +--[[ local config = {} config.lsp = { format_on_save = true, servers = { eslint = false, efm = { - format = false -- disable formatting all together + format = false, -- disable formatting all together disable_formatters = {}, -- e.g. 'eslint', 'prettier', 'lua' }, tsserver = { @@ -17,5 +16,4 @@ config.lsp = { } return config -]] - + ]] diff --git a/lua/cosmic/packer.lua b/lua/cosmic/packer.lua index 90c2373..e77bd81 100644 --- a/lua/cosmic/packer.lua +++ b/lua/cosmic/packer.lua @@ -24,6 +24,8 @@ if not present then if present then print('Packer cloned successfully.') + packer.sync() + packer.compile() else error("Couldn't clone packer !\nPacker path: " .. packer_path .. '\n' .. packer) end