WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
3 changed files with 10 additions and 5 deletions
Showing only changes of commit bb6771e968 - Show all commits

View file

@ -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

View file

@ -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'

View file

@ -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