I am trying to create a custom syntax file but it won’t show up in the list of options or using Set Syntax.
I have just started so this is my file currently:
C:\Users\Leuu\AppData\Roaming\Sublime Text 3\Packages\User\test-syntax.sublime-syntax
%YAML 1.2
---
name: Test Syntax
file_extensions: [txt]
scope: source.celeste-dialog
contexts:
main:
# Numbers
- match: '\b(-)?[0-9.]+\b'
scope: constant.numeric.test-syntax
comments:
- match: "#"
scope: comment.line.number-sign.test-syntax