mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-05-28 00:21:57 +02:00
Merge pull request #131 from macvim-dev/fix/macligatures_option_redraw
Add P_RCLR flag to macligatures for proper redrawing
This commit is contained in:
@@ -803,10 +803,8 @@ static BOOL isUnsafeMessage(int msgid);
|
||||
[[[windowController vimView] textView] setAntialias:NO];
|
||||
} else if (EnableLigaturesMsgID == msgid) {
|
||||
[[[windowController vimView] textView] setLigatures:YES];
|
||||
[self sendMessage:BackingPropertiesChangedMsgID data:nil];
|
||||
} else if (DisableLigaturesMsgID == msgid) {
|
||||
[[[windowController vimView] textView] setLigatures:NO];
|
||||
[self sendMessage:BackingPropertiesChangedMsgID data:nil];
|
||||
} else if (SetVimStateMsgID == msgid) {
|
||||
NSDictionary *dict = [NSDictionary dictionaryWithData:data];
|
||||
if (dict) {
|
||||
|
||||
+1
-1
@@ -1831,7 +1831,7 @@ static struct vimoption
|
||||
{(char_u *)TRUE, (char_u *)0L} SCRIPTID_INIT},
|
||||
#endif
|
||||
#ifdef FEAT_GUI_MACVIM
|
||||
{"macligatures", NULL, P_BOOL|P_VI_DEF,
|
||||
{"macligatures", NULL, P_BOOL|P_VI_DEF|P_RCLR,
|
||||
(char_u *)&p_macligatures, PV_NONE,
|
||||
{(char_u *)FALSE, (char_u *)0L}},
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user