Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Turn tree-sitter on by default #17879

Merged
merged 11 commits into from
Sep 5, 2018
Prev Previous commit
Next Next commit
Update fixture package to use a tree-sitter grammar
  • Loading branch information
maxbrunsfeld committed Sep 4, 2018
commit d88ae67a201ff020758c65cc78eae8e1292a5301
12 changes: 5 additions & 7 deletions spec/fixtures/packages/package-with-rb-filetype/grammars/rb.cson
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
'name': 'Test Ruby'
'type': 'tree-sitter'
'scopeName': 'test.rb'
'firstLineMatch': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'
'parser': 'tree-sitter-ruby'

'firstLineRegex': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'

'fileTypes': [
'rb'
]
'patterns': [
{
'match': 'ruby'
'name': 'meta.class.ruby'
}
]