This commit is contained in:
christianchiarulli 2021-07-08 18:48:02 -04:00
parent 354360400f
commit 2b864e8517
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ return require("packer").startup(function(use)
-- TODO refactor all of this (for now it works, but yes I know it could be wrapped in a simpler function)
use { "neovim/nvim-lspconfig" }
use { "kabouzeid/nvim-lspinstall", event = "BufRead" }
use { "kabouzeid/nvim-lspinstall", event = "VimEnter" }
-- Telescope
use { "nvim-lua/popup.nvim" }
use { "nvim-lua/plenary.nvim" }
@ -52,7 +52,7 @@ return require("packer").startup(function(use)
use { "rafamadriz/friendly-snippets", event = "InsertEnter" }
-- Treesitter
use { "nvim-treesitter/nvim-treesitter" } -- ,run = ":silent TSUpdate" }
use { "nvim-treesitter/nvim-treesitter", run = ":silent TSUpdate" }
-- Neoformat
use {

View file

@ -103,13 +103,13 @@ cloneconfig() {
git clone --branch master https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim
cp $HOME/.config/nvim/utils/installer/lv-config.example.lua $HOME/.config/nvim/lv-config.lua
nvim --headless \
+'autocmd User PackerComplete sleep 100m | qall' \
+'autocmd User PackerComplete sleep 10m | qall' \
+PackerInstall
nvim --headless \
+'autocmd User PackerComplete sleep 10m | qall' \
+PackerSync
echo -e "\nCompile Complete"
nvim --headless -cq ':silent TSUpdate' -cq ':qall' >/dev/null 2>&1
# nvim --headless -cq ':silent TSUpdate' -cq ':qall' >/dev/null 2>&1
}
asktoinstallnode() {