diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..25dd96a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "3rd-party/cocci-syntax"] + path = 3rd-party/cocci-syntax + url = https://github.com/ahf/cocci-syntax diff --git a/3rd-party/cocci-syntax b/3rd-party/cocci-syntax new file mode 160000 index 0000000..6333746 --- /dev/null +++ b/3rd-party/cocci-syntax @@ -0,0 +1 @@ +Subproject commit 6333746cabd3cf99cb2e44e34b67438266703724 diff --git a/files/.vim/ftdetect/cocci.vim b/files/.vim/ftdetect/cocci.vim new file mode 120000 index 0000000..c27af60 --- /dev/null +++ b/files/.vim/ftdetect/cocci.vim @@ -0,0 +1 @@ +../../../3rd-party/cocci-syntax/ftdetect/cocci.vim \ No newline at end of file diff --git a/files/.vim/syntax/cocci.vim b/files/.vim/syntax/cocci.vim new file mode 120000 index 0000000..03832d7 --- /dev/null +++ b/files/.vim/syntax/cocci.vim @@ -0,0 +1 @@ +../../../3rd-party/cocci-syntax/syntax/cocci.vim \ No newline at end of file