Closed tchau-mdsol closed 1 year ago
Changing undercurls to
let &t_Cs="\e[4:3m"
let &t_Ce="\e[4:0m"
has no effect on mvim
The info you provided don’t seem to make sense to me. Your version info says it’s Vim 8.2 compiled in 2021, which is old. Also, it says that it’s compiled by GitHub Actions which means it’s the binary release we do via GitHub. Meanwhile your description says you installed MacVim via Homebrew instead. Are you sure you don’t have two versions of MacVim running concurrently?
If you are, I personally recommend just using the binary release from us since it’s what I spend most of the time testing and you also get better notifications for updates (with change logs), but either one would use. I’m just suspecting you are using a stale version of MacVim.
So, I originally installed the --cask version on HomeBrew, which pulled from this github repo, and it was outdated. Therefore, I retested the undercurl issue by installing with both brew install --cask macvim
and brew install macvim
.
$ mvim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 18:56:17)
macOS version - x86_64
Included patches: 1-472
Compiled by Homebrew
Huge version with MacVim GUI. Features included (+) or not (-):
$ mvim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 19:27:32)
macOS version - x86_64
Included patches: 1-472
Compiled by GitHub Actions
Huge version with MacVim GUI. Features included (+) or not (-):
Both the Github built and Homebrew built versions still exhibit the same dotted line issue for undercurl.
Do you have the "Core Text renderer" set to off in the Advanced Preference? If so, was there a reason you set it off? It pretty much has to be on to get the latest feature as setting it off is deprecated as the description suggests. It will be mandatory to be on in the next release.
So, I originally installed the --cask version on HomeBrew, which pulled from this github repo, and it was outdated. Therefore, I retested the undercurl issue by installing with both
brew install --cask macvim
andbrew install macvim
.
On this part, just curious, why was it outdated? Did you turn off the updater? I would personally recommend uninstalling the Homebrew one and keep the Homebrew Cask version and let the auto-updater handle its own updates.
Do you have the "Core Text renderer" set to off in the Advanced Preference?
That is a bingo! Thank you so much.
On this part, just curious, why was it outdated? Did you turn off the updater?
I don't upgrade my casks or shutdown my computer as often as I should. 😞
Cool, good to see it resolved.
I don't upgrade my casks or shutdown my computer as often as I should. 😞
The cask version is just the binary release from https://github.com/macvim-dev/macvim/releases. It should check for new releases when you start MacVim, or manually check it in MacVim -> Check for Updates. I guess you may have turned auto-update off in Preferences in the app. In general Homebrew casks are designed to not require you to update it through Homebrew.
Steps to reproduce
brew install --cask macvim
mvim --clean
:hi spellbad
or:hi spellcap
Expected behaviour
The undercurl beneath XXX should appear as a squiggle instead of a dotted line. See the squiggling line underneath "mispelled" in the image below as an example.
Version of Vim and architecture
vim --version VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 24 2021 14:13:28) macOS version - x86_64 Included patches: 1-3455 Compiled by GitHub Actions Huge version with MacVim GUI.
Environment
$ sw_vers ProductName: macOS ProductVersion: 12.6 BuildVersion: 21G115
How MacVim was installed
brew install macvim
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
mvim --clean
(orgvim
, supplied by MacVim distribution)vim --clean
(in terminal, supplied by MacVim distribution)vim --clean
(in terminal, other suppliers, e.g. /usr/bin/vim)Other conditions