macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.47k stars 680 forks source link

Changing syntax highlighting is broken in MacVim GUI #1304

Closed Robert-van-Engelen closed 1 year ago

Robert-van-Engelen commented 1 year ago

Steps to reproduce

  1. Select: Syntax -> Show File Types in Menu
  2. Select: Syntax -> AB -> Assembly -> Turbo
  3. "Error detected while compiling function SetSyn"
  4. "E114: Missing quote: " do not replace the filetype but add whitespace on top"

Expected behaviour

Syntax highlighting changed.

Version of Vim and architecture

9.0.472, GUI, arm64 included patches 1-472

Environment

MacOS 12.5.1

How MacVim was installed

No response

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration

Issue has been tested with no configuration

Other conditions

ychin commented 1 year ago

I think that was fixed in upstream Vim in https://github.com/vim/vim/issues/11278 recently. It will be pushed out in the next MacVim release which is probably end of October. For now you probably have to use set ft directly.

ychin commented 1 year ago

Closing for now as the issue is already fixed and merged into macvim. It will be released in r175 as I mentioned.