easimonenko / mybuild-mode

GNU Emacs major mode for editing Mybuild files from Embox operating system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mybuild-mode

MELPA MELPA Stable

mybuild-mode -- major mode for GNU Emacs for Mybuild files from Embox operating system.

mybuild-mode supports:

  • syntax highlighting;
  • proper indentations;
  • autoload for Mybuild, *.my, mods.conf files.

mybuild-mode doesn't support:

  • correctness checking;
  • tooltips and auto completion.

Customization

You can set the width of the indentation by setting the customizable user option variable mybuild-indent-offset from customization group mybuild. By default, it is set to 2.

Details

mybuild-mode based on prog-mode and uses standard font-lock-mode for proper syntax highlighting.

When creating the mode, the formal grammar mk/mybuild/myfile.grm from Embox sources was used.

The correctness of the highlighting was manually checked on Mybuild files from Embox sources.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

(c) 2022 Evgeny Simonenko

About

GNU Emacs major mode for editing Mybuild files from Embox operating system.

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%