Ada syntax highlighting package for the Fresh editor
Find a file
2026-08-22 22:03:14 +01:00
grammars first commit 2026-08-22 22:03:14 +01:00
package.json first commit 2026-08-22 22:03:14 +01:00
README.md first commit 2026-08-22 22:03:14 +01:00
validate.sh first commit 2026-08-22 22:03:14 +01:00

Ada

Ada programming language

Features

  • Syntax highlighting via Sublime syntax grammar
  • Language configuration (comments, indentation)
  • LSP integration (if configured)

Installation

Install via Fresh's package manager:

:pkg install ada

Configuration

This language pack provides:

Grammar

  • File extensions: .ads, .adb
  • Syntax highlighting rules in grammars/ada.sublime-syntax

Language Settings

  • Comment prefix: --
  • Tab size: 3 spaces
  • Auto-indent: enabled

LSP Server

  • Command: language-server --stdio
  • Auto-start: enabled

Development

  1. Edit grammars/ada.sublime-syntax for syntax highlighting
  2. Update package.json with correct file extensions and LSP command
  3. Test by copying to ~/.config/fresh/grammars/ and restarting Fresh

Tip: Search GitHub for existing <language> sublime-syntax files you can adapt. If using an existing grammar, check its license and include a copy in grammars/LICENSE.

Grammar Attribution

Resources

License

MIT