Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1 KB

File metadata and controls

42 lines (26 loc) · 1 KB

dockerfile-fresh-language

Syntax Highlighting support for Dockerfile

Features

  • Syntax highlighting via Sublime syntax grammar

Installation

Install via Fresh's package manager:

:pkg install dockerfile-fresh-language

Configuration

This language pack provides:

Grammar

  • File extensions: Dockerfile dockerfile
  • Syntax highlighting rules in grammars/syntax.sublime-syntax

Development

  1. Edit grammars/syntax.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

Grammar Attribution

The syntax grammar is derived from Docker.tmbundle by Asbjorn Enge, licensed under MIT. See grammars/LICENSE for details.

Resources

License

MIT