Provides a major mode for editing Dictionary Specification Language files that are used by ABBYY Lingvo and other dictionary applications.
Only the basic functionality (syntax highlighting, indentation) is provided at the moment.
To use this mode, you need to have Emacs 30.1 or newer built with tree-sitter support.
The tree-sitter lingvo
grammar should be available for Emacs. You
can have Emacs build it for you automatically through
treesit-language-source-alist
(refer to the Info page) or build it yourself
and make Emacs know about
it.
When all the requirements are met, in Emacs run the command:
M-x package-install-file
RET
and specify the path to the lingvo-mode.el
file that you
have downloaded.
To activate the mode, run the command:
M-x lingvo-mode
RET
Also, you may want to have the mode started automatically for all the .dsl
files (but sometimes you may want not to). To do this, add the following to your
init file:
(add-to-list 'auto-mode-alist '("\\.dsl\\'" . lingvo-mode))