diff options
author | christianchiarulli <[email protected]> | 2021-07-08 18:48:02 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-08 18:48:02 -0400 |
commit | 2b864e8517ac4702df1a7ebf70232f332666aa04 (patch) | |
tree | 687a24ffce47264a59564496581429d4850e9afc | |
parent | 354360400f365f34e01ee7bd7368f23f7f26ca85 (diff) |
update
-rw-r--r-- | lua/plugins.lua | 4 | ||||
-rwxr-xr-x | utils/installer/install.sh | 4 |
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() { |