fix(plugins): sync and install on first run

This commit is contained in:
Matt Leong 2021-10-25 08:13:34 -07:00
parent 6306ed7293
commit fb512d0036
2 changed files with 5 additions and 5 deletions

View file

@ -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
]]
]]

View file

@ -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