diff options
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 |