From 7e235f83b450f5807554dfc38883a14856c6fd24 Mon Sep 17 00:00:00 2001 From: samuelkordik Date: Tue, 5 Dec 2023 11:10:41 -0600 Subject: [PATCH] Added support for Monaspace code ligatures. --- inst/resources/rscodeio.rstheme | 5 +++++ inst/resources/rscodeio_tomorrow_night_bright.rstheme | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/inst/resources/rscodeio.rstheme b/inst/resources/rscodeio.rstheme index 9d2058d..4040d0e 100644 --- a/inst/resources/rscodeio.rstheme +++ b/inst/resources/rscodeio.rstheme @@ -45,6 +45,11 @@ line-height: 1.3 !important; } +.ace_scroller { + font-variant-ligatures: discretionary-ligatures; + font-feature-settings: "dlig", "calt" 1; +} + .ace_cursor { border-color: rgb(174, 175, 173); width: 2px; diff --git a/inst/resources/rscodeio_tomorrow_night_bright.rstheme b/inst/resources/rscodeio_tomorrow_night_bright.rstheme index cc2e5a5..4949b68 100644 --- a/inst/resources/rscodeio_tomorrow_night_bright.rstheme +++ b/inst/resources/rscodeio_tomorrow_night_bright.rstheme @@ -111,6 +111,10 @@ .ace_support.ace_type { color: #E7C547 } +.ace_scroller { + font-variant-ligatures: discretionary-ligatures; + font-feature-settings: "dlig", "calt" 1; +} .ace_heading, .ace_markup.ace_heading, .ace_string {