Vim
Save without formatting in Neovim
When null-ls
in NeoVim is set up to format the file automatically whenever it is written,
we occasionally might want to save a file without formatting it first. For me the reason seems always
Git related, where auto format creates changes that I wouldn't want to commit yet.
To skip the auto formatting, use the following command to write the file: :noautocmd w
or :noa w