It would be nice to have a way to just in a comment add "ligatures off" above and "ligatures on" below the line(s) you don't want ligatures used. Here are some BDD scenarios descibing this: :-)
(This behavior probably need help from the editor in use, but this is what I hope for)
Background:
Given I use JetBrains Mono as default font
Scenario: Switch off using ligatures for just some lines in a file
Given I would like to switch off using ligatures for some lines in a file
When a commented line contains "ligatures off"
Then use of ligatures will be switched off
And stays switched off until a commented line below contains "ligatures on"
Scenario: Switch off using ligatures for a file
Given I would like to switch off using ligatures for a file
When a commented line contains "ligatures off" at the top
And if no comment somewhere below contains "ligatures on"
Then use of ligatures will be switched off for the whole file
It would be nice to have a way to just in a comment add "ligatures off" above and "ligatures on" below the line(s) you don't want ligatures used. Here are some BDD scenarios descibing this: :-) (This behavior probably need help from the editor in use, but this is what I hope for)
Background: Given I use JetBrains Mono as default font
Scenario: Switch off using ligatures for just some lines in a file Given I would like to switch off using ligatures for some lines in a file When a commented line contains "ligatures off" Then use of ligatures will be switched off And stays switched off until a commented line below contains "ligatures on"
Scenario: Switch off using ligatures for a file Given I would like to switch off using ligatures for a file When a commented line contains "ligatures off" at the top And if no comment somewhere below contains "ligatures on" Then use of ligatures will be switched off for the whole file