christianchiarulli пре 4 година
родитељ
комит
2b864e8517
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 2 2
      lua/plugins.lua
  2. 2 2
      utils/installer/install.sh

+ 2 - 2
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 {

+ 2 - 2
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() {