From 89f86bec9198c0e298be53a13ca753b491197376 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Mon, 10 Jul 2017 07:54:52 +0200 Subject: Added syntax highlighting for vim --- syntax/fcard.vim | 11 +++++++++++ syntax/flashcard.lang | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 syntax/fcard.vim create mode 100644 syntax/flashcard.lang (limited to 'syntax') diff --git a/syntax/fcard.vim b/syntax/fcard.vim new file mode 100644 index 0000000..b4a66d9 --- /dev/null +++ b/syntax/fcard.vim @@ -0,0 +1,11 @@ +" Vim syntax file +" Language: flashcard files +" Latest Revision: 10/07/2017 + +if exists("b:current_syntax") + finish +endif + +syn match cardTitle '^CARD: .*$' + +hi def link cardTitle Structure diff --git a/syntax/flashcard.lang b/syntax/flashcard.lang new file mode 100644 index 0000000..267f5b2 --- /dev/null +++ b/syntax/flashcard.lang @@ -0,0 +1,20 @@ + + + + *.fcard + + + +