commit 8ba4f569959957ad8aae316e658ed44c58f4bc95
parent 692043327cf351077dcf5a33eb6410224caead67
Author: Thomas Vigouroux <tomvig38@gmail.com>
Date: Wed, 10 Nov 2021 14:34:16 +0100
Fix templar config
Diffstat:
2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/after/plugin/config/templar.lua b/after/plugin/config/templar.lua
@@ -0,0 +1,5 @@
+local templar = require'templar'
+templar.register('*.vim')
+templar.register('*.h')
+templar.register('*.sh')
+templar.register('*.lua')
diff --git a/after/plugin/config/templar.vim b/after/plugin/config/templar.vim
@@ -1,12 +0,0 @@
-" Last Change: 2021 Jan 11
-if !exists('g:loaded_templar')
- finish
-endif
-
-lua << EOF
-local templar = require'templar'
-templar.register('*.vim', '~/.config/nvim/templates/template.vim')
-templar.register('*.h', '~/.config/nvim/templates/template.h')
-templar.register('*.sh', '~/.config/nvim/templates/template.sh')
-templar.register('*.lua', '~/.config/nvim/templates/template.lua')
-EOF