mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
update
This commit is contained in:
parent
354360400f
commit
2b864e8517
2 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue