After I set syntax=vhdl
and set fo=tcq
, running gqip
on the following paragraph does not work as expected:
-- Lorem ipsum dolor sit amet,
-- tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
-- laboris nisi ut aliquip ex ea commodo
becomes:
-- Lorem ipsum dolor sit amet, -- tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, -- laboris nisi ut aliquip ex ea commodo
Interestingly, using the same comment in a C++ (.cpp) file works as expected. This behavior shouldn't be related to any plugins since I tried with vim -u NONE
; vim version is 7.4. Any ideas what could be wrong here?