skeletons

This commit is contained in:
Barak Michener 2018-02-26 22:41:46 -08:00
parent 9b21ae50b1
commit 5a6e686ab3
2 changed files with 24 additions and 0 deletions

View file

@ -48,6 +48,8 @@ au BufRead,BufNewFile *.go set filetype=go
au FileType cpp let b:delimitMate_matchpairs = "(:),[:],{:}"
autocmd FileType vue syntax sync fromstart
au Filetype vue let b:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '<':'>'}
au Filetype html let b:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '<':'>'}
"Settings per filetype
augroup python
@ -106,3 +108,6 @@ autocmd FileType hy let b:auto_trim_whitespace=1
autocmd FileType idris let b:auto_trim_whitespace=1
autocmd FileType java let b:auto_trim_whitespace=1
augroup templates
autocmd BufNewFile *.vue 0r ~/.vim/skeletons/skeleton.vue
augroup END

View file

@ -0,0 +1,19 @@
<template>
</template>
<script>
//import header from './header.vue'
export default {
name: 'components',
data () {
return {
msg: 'Hello World'
}
}
}
</script>
<style>
</style>