summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/plugins.lua4
-rwxr-xr-xutils/installer/install.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 5cb116f8..324b128b 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -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 {
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index b1e3656d..9f491af7 100755
--- a/utils/installer/install.sh
+++ b/utils/installer/install.sh
@@ -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() {