Closed sloppydevil closed 2 years ago
Sounds like you might be missing filetype plugin indent on
.
I had this issue today. It is essential to put filetype plugin indent on
in your ~/.vimrc
file. Running the command filetype plugin indent on
after starting up vim will not resolve the commenting issue with Python.
two laptops: one workstation windows, one Mac M1. with the same config; when use gcc to comment python files:
note: I checked filetype, both good showing "filetype=python".