Khmer for Open Lyric songs (*.ol.md): brings Khmer Lint's spellcheck and Khmer fonts to Open Lyric documents and their preview, plus Khmer example songs. Installs Open Lyric and Khmer Lint.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Khmer (ខ្មែរ) for Open Lyric songs in VS Code. Installing it also installs
Open Lyric (raksa.open-lyric), the song language, and Khmer Lint
(raksa.khmer-lint), which supplies everything Khmer. This extension brings
the two together.
Features
Khmer spellcheck in songs: Khmer Lint's spellchecker, run by Open Lyric
on lyric lines, prose Config values and markdown text in *.ol.md files —
never chords, directives or notation. Quick fixes: Try Khmer
Segmentation, up to three suggestions, and Add to Custom Dictionary
(stored in openLyric.spellcheck.customWords under km).
Khmer fonts in the preview: Khmer Lint's Battambang faces are offered in
the Lyric view's font picker, and a song whose Config has
- Locales: km-KH renders in them.
Khmer example songs under Open Lyric: Open Example….
Editor defaults for Open Lyric files: the zero-width space, ។ and ៕
separate words (double-click, Ctrl+←/→).
Segmentation, the word-separator command, the Khmer NiDA keyboard (typing mode
and on-screen keyboard) and the visible zero-width spaces come from Khmer Lint
and work in songs like in any other file.
Spellcheck in songs can be turned off with openLyric.spellcheck.enable (all
languages) or khmerLint.spellcheck.enable (Khmer, everywhere).