Skip to content

Commit

Permalink
fix #9 add syntaxes for archives and MS Office
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed May 14, 2020
1 parent 524a4c5 commit ee8ef8d
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
20 changes: 20 additions & 0 deletions syntaxes/archive.sublime-syntax
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: Archive
file_extensions:
- zip
- 7z
- rar
- 7zip
- tgz
- gz
- pzip
- tar
- wim
scope: text.plain.archive
hidden: true
contexts:
main:
- include: scope:text.plain#prototype
- include: scope:text.plain
16 changes: 16 additions & 0 deletions syntaxes/excel.sublime-syntax
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: MS Excel
file_extensions:
- xls
- xlsx
- xlsm
- xlsb
- xlt
scope: text.plain.excel
hidden: true
contexts:
main:
- include: scope:text.plain#prototype
- include: scope:text.plain
15 changes: 15 additions & 0 deletions syntaxes/powerpoint.sublime-syntax
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: MS PowerPoint
file_extensions:
- ppt
- pptx
- pps
- ppsx
scope: text.plain.powerpoint
hidden: true
contexts:
main:
- include: scope:text.plain#prototype
- include: scope:text.plain
18 changes: 18 additions & 0 deletions syntaxes/word.sublime-syntax
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: MS Word
file_extensions:
- doc
- docx
- docm
- docxml
- dotm
- dotx
- wri
scope: text.plain.word
hidden: true
contexts:
main:
- include: scope:text.plain#prototype
- include: scope:text.plain

0 comments on commit ee8ef8d

Please sign in to comment.