It seems that we could add .comp to the .gitattributes file to have
.comp files syntax-highlighted as C.

https://github.com/github-linguist/linguist/blob/master/docs/overrides.md

Using a C parser probably isn't perfect for .comp as the C parser will
not do very well with triple-quoted documentation strings. Trying a
Rust parser in Geany does a good job of C and also gets the strings
right, but if we were to set that in github it might cause confusion
in search results? (my uncertainty on this matter is why I haven't
just gone ahead and done it)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to