From 712c1a3c9a72df7e4dd38c0756ceaf6d5da295b9 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sat, 20 Jan 2024 18:41:28 -0500 Subject: [PATCH] Add skeleton.json --- fake_home/.vim/templates/skeleton.json | 3 +++ fake_home/.vimrc | 1 + 2 files changed, 4 insertions(+) create mode 100644 fake_home/.vim/templates/skeleton.json diff --git a/fake_home/.vim/templates/skeleton.json b/fake_home/.vim/templates/skeleton.json new file mode 100644 index 0000000..21da3b2 --- /dev/null +++ b/fake_home/.vim/templates/skeleton.json @@ -0,0 +1,3 @@ +{ + "key": "value" +} diff --git a/fake_home/.vimrc b/fake_home/.vimrc index a74db4c..e2b05bf 100644 --- a/fake_home/.vimrc +++ b/fake_home/.vimrc @@ -168,6 +168,7 @@ if has ("autocmd") autocmd BufNewFile *.html 0r ~/.vim/templates/skeleton.html autocmd BufNewFile *.java 0r ~/.vim/templates/skeleton.java autocmd BufNewFile *.js 0r ~/.vim/templates/skeleton.js + autocmd BufNewFile *.json 0r ~/.vim/templates/skeleton.json autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile augroup END endif