diff --git a/nvim.conf.nix b/nvim.conf.nix index 77ab98f..249c036 100644 --- a/nvim.conf.nix +++ b/nvim.conf.nix @@ -360,4 +360,7 @@ set autochdir "===== nix =====" autocmd FileType nix :set shiftwidth=2 + +" Typst autosave +autocmd InsertLeave,TextChanged *.typ silent! update ''