this post was submitted on 01 Oct 2023
2 points (100.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

The files have a relatively uncomplicated syntax. Plain statements ending with a semicolon, and blocks delimited by curly braces (see for example https://github.com/jtkristoff/junos/blob/master/firewall.conf).

I tried the junos-mode but it behaved rather weirdly.

Is there a programming language mode that will be suitable for this format?

If not, is there a mode which can do the following, or something close to these?

  • Backspace at whitespace indents properly with previous block
  • Ability to collapse and expand blocks depending on indent level or matching brace
  • spell check using words already used in the buffer

Will appreciate your help!

top 1 comments
sorted by: hot top controversial new old
[–] friedbun@alien.top 1 points 1 year ago