Add skeleton.js

This commit is contained in:
Sage Vaillancourt 2024-01-20 18:33:31 -05:00
parent 257998831d
commit 9c6017bb27
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
document.addEventListener('DOMContentLoaded', function initJs () {
console.log('Hello, world!')
})

View File

@ -167,6 +167,7 @@ if has ("autocmd")
autocmd BufNewFile *.md 0r ~/.vim/templates/skeleton.md autocmd BufNewFile *.md 0r ~/.vim/templates/skeleton.md
autocmd BufNewFile *.html 0r ~/.vim/templates/skeleton.html autocmd BufNewFile *.html 0r ~/.vim/templates/skeleton.html
autocmd BufNewFile *.java 0r ~/.vim/templates/skeleton.java autocmd BufNewFile *.java 0r ~/.vim/templates/skeleton.java
autocmd BufNewFile *.js 0r ~/.vim/templates/skeleton.js
autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile
augroup END augroup END
endif endif