New and improved nanorc files for nano syntax highlighting.
echo "include \"path/to/*.nanorc\"" >> ~/.nanorc
- keywords:
blue
- attributes/functions/classes/etc.:
magenta
- numbers/constants/variables:
yellow
- srings:
green
- comments:
red
- trailing whitespaces:
,green
Bugs are documented in the tests: git grep "bug"
https://www.nano-editor.org/dist/latest/nanorc.5.html
Bash:
CSV:
Dockerfile:
fish:
Go:
JSON:
Logs:
LookML:
Markdown:
Python:
SQL:
Terraform:
- https://developer.hashicorp.com/terraform/language/syntax/configuration
- https://github.com/hashicorp/hcl/blob/main/hclsyntax/spec.md
TOML:
XML:
YAML: