From d7bf5cf178dc794cc3da6785e3eb22ce56fc7ed9 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 2 Sep 2021 22:12:49 +0100 Subject: [PATCH] vim: add flatbuffers Signed-off-by: Alejandro Mery --- .gitmodules | 3 +++ 3rd-party/vim-flatbuffers | 1 + files/.vim/ftdetect/fbs.vim | 1 + files/.vim/syntax/fbs.vim | 1 + 4 files changed, 6 insertions(+) create mode 160000 3rd-party/vim-flatbuffers create mode 120000 files/.vim/ftdetect/fbs.vim create mode 120000 files/.vim/syntax/fbs.vim diff --git a/.gitmodules b/.gitmodules index ea566b2..5ad2150 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "3rd-party/vim-bitbake"] path = 3rd-party/vim-bitbake url = https://github.com/kergoth/vim-bitbake +[submodule "3rd-party/vim-flatbuffers"] + path = 3rd-party/vim-flatbuffers + url = https://github.com/dcharbon/vim-flatbuffers diff --git a/3rd-party/vim-flatbuffers b/3rd-party/vim-flatbuffers new file mode 160000 index 0000000..ecd75c3 --- /dev/null +++ b/3rd-party/vim-flatbuffers @@ -0,0 +1 @@ +Subproject commit ecd75c33576d982f3c83545dff7b3c9245285e75 diff --git a/files/.vim/ftdetect/fbs.vim b/files/.vim/ftdetect/fbs.vim new file mode 120000 index 0000000..5c725f0 --- /dev/null +++ b/files/.vim/ftdetect/fbs.vim @@ -0,0 +1 @@ +../../../3rd-party/vim-flatbuffers/ftdetect/fbs.vim \ No newline at end of file diff --git a/files/.vim/syntax/fbs.vim b/files/.vim/syntax/fbs.vim new file mode 120000 index 0000000..a463aeb --- /dev/null +++ b/files/.vim/syntax/fbs.vim @@ -0,0 +1 @@ +../../../3rd-party/vim-flatbuffers/syntax/fbs.vim \ No newline at end of file