mark __virtual files as nofiles, so I can close the editor without saving

This commit is contained in:
Ivar Fatland
2025-02-21 09:58:31 +01:00
parent 2dbf01e678
commit cd74798895
+1
View File
@@ -63,6 +63,7 @@ vim.cmd [[
tnoremap <c-w>c <c-\><c-n><c-w>c
autocmd TextYankPost * silent! lua vim.highlight.on_yank {higroup='Visual', timeout=100}
autocmd BufEnter *__virtual* setlocal buftype=nofile bufhidden=hide noswapfile
let g:rustfmt_autosave = 1
]]