From bc8d4ec9d606fdfc48c10b776b5392fda7c73181 Mon Sep 17 00:00:00 2001 From: Shun Git Date: Sat, 3 Oct 2020 15:12:14 +0800 Subject: [PATCH] add ts and jsx highlighting --- .gitmodules | 6 ++++++ vim/pack/plugins/opt/vim-jsx-pretty | 1 + vim/pack/plugins/opt/yats.vim | 1 + vim/plugin/jsx.vim | 2 ++ 4 files changed, 10 insertions(+) create mode 160000 vim/pack/plugins/opt/vim-jsx-pretty create mode 160000 vim/pack/plugins/opt/yats.vim create mode 100644 vim/plugin/jsx.vim diff --git a/.gitmodules b/.gitmodules index d481aac..a9de3b9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,9 @@ [submodule "vim/pack/plugins/opt/vim-gitgutter"] path = vim/pack/plugins/opt/vim-gitgutter url = https://github.com/airblade/vim-gitgutter.git +[submodule "vim/pack/plugins/opt/yats.vim"] + path = vim/pack/plugins/opt/yats.vim + url = https://github.com/HerringtonDarkholme/yats.vim +[submodule "vim/pack/plugins/opt/vim-jsx-pretty"] + path = vim/pack/plugins/opt/vim-jsx-pretty + url = https://github.com/MaxMEllon/vim-jsx-pretty diff --git a/vim/pack/plugins/opt/vim-jsx-pretty b/vim/pack/plugins/opt/vim-jsx-pretty new file mode 160000 index 0000000..3a24dca --- /dev/null +++ b/vim/pack/plugins/opt/vim-jsx-pretty @@ -0,0 +1 @@ +Subproject commit 3a24dca8f8cc9b88efca3faf446db41f5b7da121 diff --git a/vim/pack/plugins/opt/yats.vim b/vim/pack/plugins/opt/yats.vim new file mode 160000 index 0000000..7c904cf --- /dev/null +++ b/vim/pack/plugins/opt/yats.vim @@ -0,0 +1 @@ +Subproject commit 7c904cf443f5fd4900e1b4aad6dba6af96b4a395 diff --git a/vim/plugin/jsx.vim b/vim/plugin/jsx.vim new file mode 100644 index 0000000..9a5bde4 --- /dev/null +++ b/vim/plugin/jsx.vim @@ -0,0 +1,2 @@ +packadd yats.vim +packadd vim-jsx-pretty