Skip to content

Commit bc26247

Browse files
committed
Merge pull request #138 from macvim-dev/fix/update_macligatures_option
Update macligatures option
2 parents 67fbd20 + 428d116 commit bc26247

File tree

5 files changed

+19
-14
lines changed

5 files changed

+19
-14
lines changed

runtime/doc/gui_mac.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ to your .gvimrc file to revert back to the default Vim tab label.
111111
*macvim-options*
112112
These are the non-standard options that MacVim supports:
113113
'antialias' 'blurradius' 'fullscreen'
114-
'fuoptions' 'macmeta' 'macligatures' 'toolbariconsize'
114+
'fuoptions' 'macligatures' 'macmeta' 'toolbariconsize'
115115
'transparency'
116116

117117
*macvim-commands*

runtime/doc/options.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4985,31 +4985,31 @@ A jump table for the options with a short description can be found at |Q_op|.
49854985
'termencoding'.
49864986
Note: MacVim does not use this option.
49874987

4988-
*'macmeta'* *'mmta'* *'nomacmeta'* *'nommta'*
4989-
'macmeta' boolean (default off)
4990-
local to buffer
4991-
{only available in MacVim GUI}
4992-
Use option (alt) as meta key. When on, option-key presses are not
4993-
interpreted, thus enabling bindings to <M-..>. When off, option-key
4994-
presses are interpreted by the selected input method and inserted as
4995-
text.
4996-
Note: Some keys (e.g. <M-F1>, <M-Tab>, <M-Return>, <M-Left>) can be
4997-
bound with the Meta flag even when this option is disabled, but this
4998-
is not the case for the majority of keys (e.g. <M-a>, <M-`>).
4999-
50004988
*'macligatures'* *'nomacligatures'*
50014989
'macligatures' boolean (default off)
50024990
global
50034991
{not in Vi}
50044992
{only available when compiled with GUI enabled on
50054993
Mac OS X}
50064994
This option only has an effect in the GUI version of Vim on Mac OS X
5007-
v10.2 or later. When on, Vim will display ligatures if the selected
4995+
v10.5 or later. When on, Vim will display ligatures if the selected
50084996
'guifont' supports them. Examples for such fonts are Fira Code or
50094997
Haskelig.
50104998
Note: Currently this option only has an effect if
50114999
'Use Core Text renderer' is enabled in the GUI preferences pane.
50125000

5001+
*'macmeta'* *'mmta'* *'nomacmeta'* *'nommta'*
5002+
'macmeta' boolean (default off)
5003+
local to buffer
5004+
{only available in MacVim GUI}
5005+
Use option (alt) as meta key. When on, option-key presses are not
5006+
interpreted, thus enabling bindings to <M-..>. When off, option-key
5007+
presses are interpreted by the selected input method and inserted as
5008+
text.
5009+
Note: Some keys (e.g. <M-F1>, <M-Tab>, <M-Return>, <M-Left>) can be
5010+
bound with the Meta flag even when this option is disabled, but this
5011+
is not the case for the majority of keys (e.g. <M-a>, <M-`>).
5012+
50135013
*'magic'* *'nomagic'*
50145014
'magic' boolean (default on)
50155015
global

runtime/doc/quickref.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ Short explanation of each option: *option-list*
782782
'loadplugins' 'lpl' load plugin scripts when starting up
783783
'luadll' name of the Lua dynamic library
784784
'macatsui' Mac GUI: use ATSUI text drawing
785+
'macligatures' display ligatures (MacVim GUI only)
785786
'macmeta' 'mmta' use option as meta key (MacVim GUI only)
786787
'magic' changes special characters in search patterns
787788
'makeef' 'mef' name of the errorfile for ":make"

runtime/doc/tags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
426426
'lz' options.txt /*'lz'*
427427
'ma' options.txt /*'ma'*
428428
'macatsui' options.txt /*'macatsui'*
429+
'macligatures' options.txt /*'macligatures'*
429430
'macmeta' options.txt /*'macmeta'*
430431
'magic' options.txt /*'magic'*
431432
'makeef' options.txt /*'makeef'*
@@ -602,6 +603,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
602603
'nolz' options.txt /*'nolz'*
603604
'noma' options.txt /*'noma'*
604605
'nomacatsui' options.txt /*'nomacatsui'*
606+
'nomacligatures' options.txt /*'nomacligatures'*
605607
'nomacmeta' options.txt /*'nomacmeta'*
606608
'nomagic' options.txt /*'nomagic'*
607609
'nomh' options.txt /*'nomh'*

runtime/optwin.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,8 @@ if has("gui")
651651
call <SID>BinOptionG("fullscreen", &fullscreen)
652652
call append("$", "fuoptions\tcontrol how fullscreen mode should behave")
653653
call <SID>OptionG("fuoptions", &fuoptions)
654+
call append("$", "macligatures\tdisplay ligatures")
655+
call <SID>BinOptionG("macligatures", &macligatures)
654656
call append("$", "macmeta\tuse option as meta key")
655657
call append("$", "\t(local to buffer)")
656658
call <SID>BinOptionL("mmta")

0 commit comments

Comments
 (0)