Fix syntax for setting vim filetype in templates
parent
aa1348fbe2
commit
def01bdb01
@ -1,2 +1 @@
|
||||
. "${HOME}/.bashrc"
|
||||
# vim: filetype=bash
|
||||
source "${HOME}/.bashrc"
|
||||
|
@ -1,5 +1,5 @@
|
||||
" chezmoi:template:left-delimiter="{{
|
||||
"{{- /* vim: filetype=vim */ -}}
|
||||
"{{- /* vim: set filetype=vim: */ -}}
|
||||
"{{- if lookPath "rustc" -}}
|
||||
let g:rustfmt_autosave = 1
|
||||
"{{- end }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
" chezmoi:template:left-delimiter="{{
|
||||
"{{- /* vim: filetype=vim */ -}}
|
||||
"{{- /* vim: set filetype=vim: */ -}}
|
||||
"{{- if lookPath "go" -}}
|
||||
Plug 'fatih/vim-go'
|
||||
"{{- end }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
" chezmoi:template:left-delimiter="{{
|
||||
"{{- /* vim: filetype=vim */ -}}
|
||||
"{{- /* vim: set filetype=vim: */ -}}
|
||||
"{{- if lookPath "rustc" -}}
|
||||
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
|
||||
"{{- end }}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{ if .include_legacy -}}
|
||||
# chezmoi:template:left-delimiter=#{{
|
||||
#{{- /* vim: set filetype=bash: */ -}}
|
||||
#{{ if .include_legacy -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
java -jar "$XDG_DATA_HOME/duck-encoder/duck-encoder.jar" $*
|
||||
|
||||
# vim: ft=bash
|
||||
{{- end }}
|
||||
#{{- end }}
|
||||
|
@ -1,6 +1,8 @@
|
||||
{{ if .include_legacy -}}
|
||||
# chezmoi:template:left-delimiter=#{{
|
||||
#{{- /* vim: set filetype=bash: */ -}}
|
||||
#{{ if .include_legacy -}}
|
||||
#!/usr/bin/env bash
|
||||
sudo systemctl start lego@toy.xbudex.com.service
|
||||
scp /etc/ssl/certificates/toy.xbudex.com.crt toy.xbudex.com:AppData/Local/Syncthing/https-cert.pem
|
||||
scp /etc/ssl/certificates/toy.xbudex.com.key toy.xbudex.com:AppData/Local/Syncthing/https-key.pem
|
||||
{{- end }}
|
||||
#{{- end }}
|
||||
|
Loading…
Reference in New Issue