summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------.vim/bundle/Vundle.vim0
-rw-r--r--.vim/ftdetect/fcard.vim1
-rw-r--r--.vim/syntax/fcard.vim11
4 files changed, 15 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..9eb7fea
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule ".vim/bundle/Vundle.vim"]
+ path = .vim/bundle/Vundle.vim
+ url = https://github.com/VundleVim/Vundle.vim.git
diff --git a/.vim/bundle/Vundle.vim b/.vim/bundle/Vundle.vim
new file mode 160000
+Subproject 9a38216a1c0c597f978d73547d37681fc689c90
diff --git a/.vim/ftdetect/fcard.vim b/.vim/ftdetect/fcard.vim
new file mode 100644
index 0000000..f1cfbbf
--- /dev/null
+++ b/.vim/ftdetect/fcard.vim
@@ -0,0 +1 @@
+au BufRead,BufNewFile *.fcard set filetype=fcard
diff --git a/.vim/syntax/fcard.vim b/.vim/syntax/fcard.vim
new file mode 100644
index 0000000..b4a66d9
--- /dev/null
+++ b/.vim/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