diff options
| author | Robert Günzler <r@gnzler.io> | 2020-01-26 17:16:07 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-01-26 18:00:59 +0100 |
| commit | f5d56602df70950de6b7d40966b00c9939c81763 (patch) | |
| tree | b50ffeb5496fe3525cc1bab2629389ced95435b7 /.vim/ftdetect | |
Intial commit of v2
See https://drewdevault.com/2019/12/30/dotfiles.html
Diffstat (limited to '.vim/ftdetect')
| -rw-r--r-- | .vim/ftdetect/h.vim | 1 | ||||
| -rw-r--r-- | .vim/ftdetect/journal.vim | 1 | ||||
| -rw-r--r-- | .vim/ftdetect/pixy.vim | 1 | ||||
| -rw-r--r-- | .vim/ftdetect/scarlet.vim | 1 | ||||
| -rw-r--r-- | .vim/ftdetect/zettel.vim | 4 |
5 files changed, 8 insertions, 0 deletions
diff --git a/.vim/ftdetect/h.vim b/.vim/ftdetect/h.vim new file mode 100644 index 0000000..665088d --- /dev/null +++ b/.vim/ftdetect/h.vim @@ -0,0 +1 @@ +au BufNewFile,BufEnter *.h :setlocal filetype=c diff --git a/.vim/ftdetect/journal.vim b/.vim/ftdetect/journal.vim new file mode 100644 index 0000000..a636837 --- /dev/null +++ b/.vim/ftdetect/journal.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead *.journal set filetype=ledger diff --git a/.vim/ftdetect/pixy.vim b/.vim/ftdetect/pixy.vim new file mode 100644 index 0000000..2ffb158 --- /dev/null +++ b/.vim/ftdetect/pixy.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead *.pixy set filetype=pug noet diff --git a/.vim/ftdetect/scarlet.vim b/.vim/ftdetect/scarlet.vim new file mode 100644 index 0000000..40ed638 --- /dev/null +++ b/.vim/ftdetect/scarlet.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead *.scarlet set filetype=stylus diff --git a/.vim/ftdetect/zettel.vim b/.vim/ftdetect/zettel.vim new file mode 100644 index 0000000..ecf6a0e --- /dev/null +++ b/.vim/ftdetect/zettel.vim @@ -0,0 +1,4 @@ +augroup zettel_file + au! + au BufNewFile,BufRead * if zettel#is_zettel(expand('%:p')) | call zettel#set_filetype() | en +augroup END |