Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HEP Syntax

This repository contains syntax highlighting files for various HEP configuration files, organized per editor:

  • vim/ - Vim and Neovim (syntax/ and ftdetect/ files)

List of supported configuration files:

  • Pythia8
  • EvtGen
  • Whizard

TODO

Candidate configuration/event formats for future support, found while scanning HEP-FCC/FCC-config across its campaign branches:

  • KKMC generator input (.input) - fixed-column, indexed-parameter format wrapped in BeginX/EndX.
  • Herwig generator input (.in) - ThePEG repository scripting DSL (read/cd/set/insert/saverun on path-like object references).
  • EvtGen particle data list (evt.pdl) - fixed-width columnar particle table, a different format from EvtGen .dec decay files.
  • HepMC plain text event format.
  • LHEF (Les Houches Event Format).

Testing

tests/fixtures/ holds real-world configuration files vendored from HEP-FCC/FCC-config (see tests/fixtures/SOURCES.md). make test runs every syntax/grammar that exists against these fixtures and fails if any non-whitespace, non-comment text is left with no highlighting at all. Individually:

  • make test-vim - requires vim on PATH.
  • make test-vscode - requires node/npm; installs vscode-textmate and vscode-oniguruma (the real engine VSCode uses) to tokenize fixtures against vscode/syntaxes/*.tmLanguage.json.

About

HEP (neo)vim syntax highlighting files

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages