-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filetype not detected in v0.46.0-20240102.233758 #1045
Comments
I'm having the reverse of this problem. When I open one file the file detection isn't triggering, but if I open subsequent files in the same window, they all detect properly. (same version as reported above) on macOS 13.6.3 22G436 x86_64. |
I'm sorry, I can't repro this. |
I unloaded all plugins and removed all personal settings, but still have the problem. The following is a minimal example: I tested on a Macbook Pro and a Macbook Air, both with Intel CPU and running Sonoma 14.2.1. On both computers, I get the same result. I have the same problem on the nightly build, but I do not have this problem in VimR 0.45.5. I saw "Improve rendering performance slightly" in the release note of 0.46.0 and I wonder if this note is related to the problem. |
Are there any messages (:messages) sometimes issues with startup files don't show obviously |
There are no messages. |
I just realize that the content of the "test.md" file in (2) of my minimal example is not showing correctly because it has HTML code. I am attaching the file: |
This bug appears to be fixed in Version 0.46.1 (20240114.181346). |
The bug remains in Version 0.46.1 (20240114.181346) for me. |
I did a completely clean install of VimR (AppCleaner automatically remove the preferences .plist file and state folder of VimR), move away It is not always can't detect filetype, it comes randomly and make debug a bit harder. |
Hi everyone! |
Hi! Maybe related to neovim/neovim#19216. |
After adding |
Already fixed in #1053 several months ago, I guess we can close this issue now. |
Since v0.46.0-20240102.233758, VimR has problem detecting filetypes. After opening a new VimR process, when I open the first file, the filetype is properly detected and syntax highlighting works properly. However, when I open any other file after the first one, the filetype is not detected. If I use ":set filetype" in VimR, I get "filetype=". As a consequence, syntax highlighting does not work at all.
I have never had such a problem in earlier versions.
The text was updated successfully, but these errors were encountered: