From 88ba851893362dacdbde6ff9527675b07affff27 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 23 Jan 2023 23:03:57 -0300 Subject: build: move syntax files to contrib/syntax/files Having all of syntax files in the same directory makes it easier to reference all of them at once on a makefile (such as with `contrib/syntax/files/*.in`). Also, this makes the path to the gtksourceview language-spec shorter. Current path/new path: * contrib/gtksourceview-5/language-specs/firejail-profile.lang * contrib/syntax/files/firejail-profile.lang Currently, adding a rule to the root Makefile to generate the language-spec in the same directory as an input file would take at least 95 characters (with only a single dependency): contrib/gtksourceview-5/language-specs/%.lang: contrib/gtksourceview-5/language-specs/%.lang.in With this commit, the above shortened to 59 characters: contrib/syntax/files/%.lang: contrib/syntax/files/%.lang.in Which should make it more readable. Relates to #2679 #5502. --- contrib/syntax/files/firejail-profile.lang | 69 +++++++++++++++++++ contrib/syntax/files/firejail.vim | 104 +++++++++++++++++++++++++++++ 2 files changed, 173 insertions(+) create mode 100644 contrib/syntax/files/firejail-profile.lang create mode 100644 contrib/syntax/files/firejail.vim (limited to 'contrib/syntax') diff --git a/contrib/syntax/files/firejail-profile.lang b/contrib/syntax/files/firejail-profile.lang new file mode 100644 index 000000000..61c37f98f --- /dev/null +++ b/contrib/syntax/files/firejail-profile.lang @@ -0,0 +1,69 @@ + + + + + + text/plain;text/x-firejail-profile + *.profile;*.local;*.inc + # + + + +