From feb1afa78e2a237ddf9de15d7f8c787e49711efd Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 1 Aug 2020 23:49:51 +0100 Subject: [PATCH] vim: add https://github.com/ahf/cocci-syntax via submodule Signed-off-by: Alejandro Mery --- .gitmodules | 3 +++ 3rd-party/cocci-syntax | 1 + files/.vim/ftdetect/cocci.vim | 1 + files/.vim/syntax/cocci.vim | 1 + 4 files changed, 6 insertions(+) create mode 100644 .gitmodules create mode 160000 3rd-party/cocci-syntax create mode 120000 files/.vim/ftdetect/cocci.vim create mode 120000 files/.vim/syntax/cocci.vim 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