WIP: Switch to NixOS #5
3 changed files with 10 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
[actions]
|
[actions]
|
||||||
nvim-packer-sync = "nvim +PackerSync"
|
nvim-packer-sync = "nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync'"
|
||||||
|
|
||||||
[config]
|
[config]
|
||||||
backup = true
|
backup = true
|
||||||
|
|
|
@ -79,7 +79,12 @@ require('packer').startup(function()
|
||||||
use "rafamadriz/friendly-snippets" -- Snippets collection
|
use "rafamadriz/friendly-snippets" -- Snippets collection
|
||||||
|
|
||||||
-- treesitter syntax highlight
|
-- 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
|
-- treesitter plugin for commentstring
|
||||||
use 'JoosepAlviste/nvim-ts-context-commentstring'
|
use 'JoosepAlviste/nvim-ts-context-commentstring'
|
||||||
|
@ -112,8 +117,8 @@ require('packer').startup(function()
|
||||||
-- Vim <3 Asciidoctor
|
-- Vim <3 Asciidoctor
|
||||||
use 'habamax/vim-asciidoctor'
|
use 'habamax/vim-asciidoctor'
|
||||||
|
|
||||||
-- Modern filetype.vim replacement
|
-- Modern filetype.vim replacement
|
||||||
use("nathom/filetype.nvim")
|
use("nathom/filetype.nvim")
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ update() {
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins() {
|
plugins() {
|
||||||
nvim +PackerSync +TSUpdate
|
nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
|
||||||
zinit self-update
|
zinit self-update
|
||||||
zinit update -p
|
zinit update -p
|
||||||
$HOME/.tmux/plugins/tpm/bin/update_plugins all
|
$HOME/.tmux/plugins/tpm/bin/update_plugins all
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue