Skip to content

Mcedit text editor syntax higlighter definitions for FreeDesktop.org .desktop files

License

Notifications You must be signed in to change notification settings

mzhukov1973/mcedit-syntax-highlighter-desktop

Repository files navigation

MC Editor syntax higlighter definitions for FreeDesktop.org .desktop files

Author: Maxim Zhukov mzhukov31415dev@gmail.com
GitHub repository: https://github.com/mzhukov1973/mcedit-syntax-highlighter-desktop

Based on: FreeDesktop specs (version 1.2alpha from 2017-12-24)

Created on: 2018-05-06

Last updated on: 2019-09-14

Version: 0.0.2

License: MIT

Changes0.0.2: Added rules for .vala, [web]manifest.json & meson.build files.

Changes0.0.1: Initial commit, first draft.

Setup:

For personal use:

Just drop desktop.syntax in ~/.config/mc/mcedit/syntax directory and add following two lines to the ~/.config/mc/mcedit/Syntax:

file ..\*\\.(desktop|DESKTOP)$ Desktop\sDefinition
include /home/yourusername/.config/mc/mcedit/syntax/desktop.syntax

Globaly, for everyone on the machine mc is running on:

Copy desktop.syntax in /usr/share/mc/syntax directory and add following two lines to the /usr/share/mc/syntax/Syntax:

file ..\*\\.(desktop|DESKTOP)$ Desktop\sDefinition
include /home/yourusername/.config/mc/mcedit/syntax/desktop.syntax

About

Mcedit text editor syntax higlighter definitions for FreeDesktop.org .desktop files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published