Fix formatting | Handle a edgecase in telescope config | Misc

* fix formatting in pluginList, luasnip

* don't use pcall on highlights

* sync and compile fzf and media files only when the error occurs, add a
  help text telling tbe user to restart neovim
This commit is contained in:
Akianonymus 2021-07-19 06:28:28 +05:30
parent 05d57bba29
commit 0023233eef
5 changed files with 48 additions and 21 deletions

View file

@ -76,5 +76,8 @@ if
)
then
-- This should only trigger when in need of PackerSync, so better do it
vim.cmd("PackerSync")
print("After completion of PackerSync, restart neovim.")
require("packer").sync("telescope-fzf-native.nvim", "telescope-media-files.nvim")
-- why compile too ? well, packer is supposed to compile with sync only, but sometimes it doesn't work
vim.cmd("PackerCompile")
end