You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somehow ftdetect/taskpaper.vim is causing vim to set the filetype of a .py file which contains the # character at the start of a line to conf instead of python.
To reproduce:
Create an empty file called foo.py
Open it in vim
Do set ft? to check the filetype, verify that it shows up as "python"
Enter a single # into the file, then close and re-open it
Check the filetype: it's now "conf"
Delete the # and re-open: it's now "python" again.
Workaround:
Comment out the "augroup taskpaper" and "augroup END" lines in ftdetect/taskpaper.vim. This seems to completely fix the problem.
Any thoughts? This may just be taskpaper interacting badly with something else I've installed.
The text was updated successfully, but these errors were encountered:
This is a weird one...
Somehow ftdetect/taskpaper.vim is causing vim to set the filetype of a .py file which contains the # character at the start of a line to conf instead of python.
To reproduce:
Create an empty file called foo.py
Open it in vim
Do set ft? to check the filetype, verify that it shows up as "python"
Enter a single # into the file, then close and re-open it
Check the filetype: it's now "conf"
Delete the # and re-open: it's now "python" again.
Workaround:
Comment out the "augroup taskpaper" and "augroup END" lines in ftdetect/taskpaper.vim. This seems to completely fix the problem.
Any thoughts? This may just be taskpaper interacting badly with something else I've installed.
The text was updated successfully, but these errors were encountered: