mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 08:37:12 +00:00
Add simple /proc/meminfo syntax, see #593
This commit is contained in:
parent
77ff853739
commit
0aca27511a
1 changed files with 14 additions and 0 deletions
14
assets/syntaxes/MemInfo.sublime-syntax
vendored
Normal file
14
assets/syntaxes/MemInfo.sublime-syntax
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
# http://www.sublimetext.com/docs/3/syntax.html
|
||||
name: MemInfo
|
||||
file_extensions:
|
||||
- meminfo
|
||||
scope: source.meminfo
|
||||
|
||||
contexts:
|
||||
main:
|
||||
- match: '^([^:]+)\w*:\w*(.*)$'
|
||||
captures:
|
||||
1: keyword.other.meminfo-key
|
||||
2: string.other.meminfo-value
|
Loading…
Reference in a new issue