The file does appear to have been saved. It doesn't seem to make a difference if there are any changes to the buffer before the save or whether the file exists or not. Saving an empty buffer does not cause it.
Using :x or :w then :q doesn't cause the same problem.
I am using vim 8.0 (included patches: 1-46) (I can add the full vim --version if it'd help) on Redhat 6 with python 3.5.
I have removed everything from .vimrc except
Using
:wq
to save a file that is being validated causes a segfault:The file does appear to have been saved. It doesn't seem to make a difference if there are any changes to the buffer before the save or whether the file exists or not. Saving an empty buffer does not cause it. Using
:x
or:w
then:q
doesn't cause the same problem.I am using vim 8.0 (included patches: 1-46) (I can add the full
vim --version
if it'd help) on Redhat 6 with python 3.5. I have removed everything from.vimrc
exceptIt seems to only be a problem if the filetype is one that is being checked.
:set ft=
before saving prevents the segfault.To reproduce
I have had the same problem for python and sh files but not lua. I do not have any other checkers installed to test.