diff options
Diffstat (limited to '.vim/ftdetect')
-rw-r--r-- | .vim/ftdetect/ia64.vim | 3 | ||||
-rw-r--r-- | .vim/ftdetect/mips.vim | 2 | ||||
-rw-r--r-- | .vim/ftdetect/rust.vim | 2 | ||||
-rw-r--r-- | .vim/ftdetect/z80.vim | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/.vim/ftdetect/ia64.vim b/.vim/ftdetect/ia64.vim new file mode 100644 index 0000000..1b1325c --- /dev/null +++ b/.vim/ftdetect/ia64.vim @@ -0,0 +1,3 @@ +"default asm to a64 intel syntax +au! BufRead,BufNewFile *.s set filetype=ia64 +au! BufRead,BufNewFile *.asm set filetype=ia64 diff --git a/.vim/ftdetect/mips.vim b/.vim/ftdetect/mips.vim new file mode 100644 index 0000000..e16570e --- /dev/null +++ b/.vim/ftdetect/mips.vim @@ -0,0 +1,2 @@ +"mips asm suffixed with .mips +au! BufRead,BufNewFile *.mips set filetype=mips diff --git a/.vim/ftdetect/rust.vim b/.vim/ftdetect/rust.vim new file mode 100644 index 0000000..6117cc8 --- /dev/null +++ b/.vim/ftdetect/rust.vim @@ -0,0 +1,2 @@ +"always use rust instead of hercules +au! BufRead,BufNewFile *.rs set filetype=rust diff --git a/.vim/ftdetect/z80.vim b/.vim/ftdetect/z80.vim new file mode 100644 index 0000000..f62ec44 --- /dev/null +++ b/.vim/ftdetect/z80.vim @@ -0,0 +1,2 @@ +"mips asm suffixed with .mips +au! BufRead,BufNewFile *.z80 set filetype=z80 |