From 2054afc74162dd60cc90066f68840badd6e17902 Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Thu, 20 Nov 2014 17:22:22 -0500 Subject: [PATCH] Use a SQF grammar for SQF files This produces better highlighting than using the C++ grammar. The grammar is licensed under the Apache 2.0 license. --- grammars.yml | 2 ++ lib/linguist/languages.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/grammars.yml b/grammars.yml index f7d33fff..d1ccc1bc 100644 --- a/grammars.yml +++ b/grammars.yml @@ -38,6 +38,8 @@ https://github.com/Drako/SublimeBrainfuck/raw/master/Brainfuck.tmLanguage: - source.bf https://github.com/JohnNilsson/awk-sublime/raw/master/AWK.tmLanguage: - source.awk +https://github.com/JonBons/Sublime-SQF-Language: +- source.sqf https://github.com/MarioRicalde/SCSS.tmbundle: - source.scss https://github.com/Oldes/Sublime-REBOL: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 4d36d8d0..334dfd5f 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2214,7 +2214,7 @@ SQF: extensions: - .sqf - .hqf - tm_scope: source.c++ + tm_scope: source.sqf SQL: type: data