coc-python icon indicating copy to clipboard operation
coc-python copied to clipboard

How could I write python file without code formatting?

Open ngocbh opened this issue 4 years ago • 0 comments

Code formatting is useful in general. But sometimes, I just do not want to use it. For example, when I want to append the library to sys in the first line. Code formatting ( I use autopep8 ) forces the import of the library above sys.append, and I have an error.

Could I save file without autopep8 in some situations?

For example, :w for write with autopep8 and :wwp for write without autopep8

ngocbh avatar Jul 22 '20 05:07 ngocbh