Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 2.24 KB

README.md

File metadata and controls

72 lines (56 loc) · 2.24 KB

hyper-font-ligatures

Enables font ligatures for hyper 2.1+ via the xterm-addon-ligatures and font-ligatures packages.

Use fonts supporting ligatures such as Fira Code, Hasklig, and Iosevka to benefit from this plugin.

Installation

Disclaimer: Please note that this plugin requires hyper version 2.1.0 or later.

Also note: For those on hyper 3+, you must disable WebGL rendering for this plugin to function.

Using the built-in hyper plugin manager

$ hyper i hyper-font-ligatures

Using the .hyper.js file

Open the .hyper.js file using your favorite text editor and edit the plugins array to include hyper-font-ligatures:

plugins: ['hyper-font-ligatures'],

Disabling WebGL Rendering

if you are running hyper 3+, this plugin currently does not work with hyper 3 unless you disable WebGL rendering.

Note that WebGL rendering was a major performance improvement introduced in hyper 3, by disabling it you should expect the same level of performance seen with hyper 2.

To disable WebGL rendering, set webGLRenderer to false in the config section of your .hyper.js configuration file, i.e.:

module.exports = {
  config: {
    webGLRenderer: false,
  },
  plugins: [
    "hyper-font-ligatures"
  ],
};

See issue #8 and zeit/hyper#3607 more details.

In all cases, a 'Full Reload' (View -> Full Reload) is required.