mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-02-14 11:53:26 +01:00
d8d7df81adbdfe3e5ca058d82b8210a54bd39e5c
This automatically uses NSDataDetector to detect special data around the lookup cursor position, and if found, will manually call showDefinition instead of letting the OS do it for us (honestly, this feature should be built-in to the OS instead of such manual work). Right now only doing address/phone number/URL (URL has priority), because we don't have built-in definition support for the other types like flight info and so on. This also only works for what is drawn on-screen only, because as usual, MacVim doesn't have access to the native text storage, unless we rely on lots of callbacks back-and-forth (which is possible, but annoying to implement).
…
…
Vim - the text editor - for macOS
-
MacVim homepage https://macvim-dev.github.io/macvim
-
Download the latest version from Releases.
-
Vim README: README_vim.md
Languages
Vim Script
52.3%
C
37.9%
Objective-C
3.2%
Roff
1.5%
Makefile
1.2%
Other
3.1%