Get in touch

Send an email to: lammers@gmail.com.
Or find me online at: Github, X

Write file without auto format

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