mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 21:25:56 +00:00
Add simple /proc/cpuinfo syntax, see #593
This commit is contained in:
parent
20ba984c6d
commit
77ff853739
14
assets/syntaxes/CpuInfo.sublime-syntax
vendored
Normal file
14
assets/syntaxes/CpuInfo.sublime-syntax
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
# http://www.sublimetext.com/docs/3/syntax.html
|
||||||
|
name: CpuInfo
|
||||||
|
file_extensions:
|
||||||
|
- cpuinfo
|
||||||
|
scope: source.cpuinfo
|
||||||
|
|
||||||
|
contexts:
|
||||||
|
main:
|
||||||
|
- match: '^([^:]+)\w*:\w*(.*)$'
|
||||||
|
captures:
|
||||||
|
1: keyword.other.cpuinfo-key
|
||||||
|
2: string.other.cpuinfo-value
|
Loading…
Reference in New Issue
Block a user