Refine neovim updates
This commit is contained in:
parent
efae4c58c0
commit
bb6771e968
|
@ -1,5 +1,5 @@
|
|||
[actions]
|
||||
nvim-packer-sync = "nvim +PackerSync"
|
||||
nvim-packer-sync = "nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync'"
|
||||
|
||||
[config]
|
||||
backup = true
|
||||
|
|
|
@ -79,7 +79,12 @@ require('packer').startup(function()
|
|||
use "rafamadriz/friendly-snippets" -- Snippets collection
|
||||
|
||||
-- treesitter syntax highlight
|
||||
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = function()
|
||||
require('nvim-treesitter.install').update({with_sync = true})
|
||||
end
|
||||
}
|
||||
|
||||
-- treesitter plugin for commentstring
|
||||
use 'JoosepAlviste/nvim-ts-context-commentstring'
|
||||
|
@ -112,8 +117,8 @@ require('packer').startup(function()
|
|||
-- Vim <3 Asciidoctor
|
||||
use 'habamax/vim-asciidoctor'
|
||||
|
||||
-- Modern filetype.vim replacement
|
||||
use("nathom/filetype.nvim")
|
||||
-- Modern filetype.vim replacement
|
||||
use("nathom/filetype.nvim")
|
||||
|
||||
end)
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ update() {
|
|||
}
|
||||
|
||||
plugins() {
|
||||
nvim +PackerSync +TSUpdate
|
||||
nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
|
||||
zinit self-update
|
||||
zinit update -p
|
||||
$HOME/.tmux/plugins/tpm/bin/update_plugins all
|
||||
|
|
Loading…
Reference in a new issue