fix(plugins): sync and install on first run
This commit is contained in:
parent
6306ed7293
commit
fb512d0036
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
]]
|
||||
|
||||
]]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue