moergo-sc / glove80-zmk-config

This repo is the official configuration of the MoErgo Glove80 wireless split contoured keyboard. Use it to develop your own keymap and easily build your own ZMK firmware to run on your Glove80.
MIT License
88 stars 195 forks source link

Enable syntax highlighting for .keymap files #13

Closed f0i closed 8 months ago

f0i commented 8 months ago

Create .gitattributes to treat .keymap fies like .c files for syntax highlighting in GitHub.

An example how highlighting looks can be found here: https://github.com/f0i/glove80/blob/main/config/glove80.keymap

vs. the current template repo without highlighting: https://github.com/moergo-sc/glove80-zmk-config/blob/main/config/glove80.keymap

chrisandreae commented 8 months ago

Thanks!