Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuco1/neon-mode
Simple major mode for editing neon files
https://github.com/fuco1/neon-mode
conf emacs-lisp neon nettte syntax-highlighting
Last synced: 20 days ago
JSON representation
Simple major mode for editing neon files
- Host: GitHub
- URL: https://github.com/fuco1/neon-mode
- Owner: Fuco1
- Created: 2015-03-26T10:23:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-06T11:58:28.000Z (over 6 years ago)
- Last Synced: 2024-07-30T20:47:55.306Z (4 months ago)
- Topics: conf, emacs-lisp, neon, nettte, syntax-highlighting
- Language: Emacs Lisp
- Size: 26.4 KB
- Stars: 1
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# neon-mode
Major mode for editing neon files: http://ne-on.org/
# Features
## Syntax highlighting
The mode provides some extra syntax highlighting on top of `conf-colon-mode`, specifically for the `@entities` and `%parameters%`, `::methodCalls` and `$variable`-style setup.
All the features should be demonstrated on the following screenshots (the colors of various elements use `font-lock` faces so they will look compatible with your theme).
![font-lock](./img/font-lock.png)
## Jump-to-definition
If you use [composer autoloading](https://getcomposer.org/doc/01-basic-usage.md#autoloading) in your project you can use a "Jump to definition" functionality bound by default to `M-'`. With the point on the class definition this will use the autoloader to find the definition file and visit it. Use `pop-global-mark` to get back to the `neon` file.