Adding template files and configuring template plugin.
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
|
||||
" Setup templates.
|
||||
"
|
||||
let g:git_root=system("git rev-parse --show-toplevel | tr -d '\\n'")
|
||||
let g:templates_no_autocmd = 0
|
||||
let g:templates_directory=[ g:git_root . '/templates' ]
|
||||
let g:templates_global_name_prefix='_'
|
||||
let g:templates_debug=1
|
||||
|
||||
let s:vimrc=expand('<sfile>:p:r')
|
||||
let s:host=hostname()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user