From 36dac6212b2b656b731298bed1eb6332a40babdf Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 17 Nov 2018 17:47:08 -0700 Subject: clean up vim filetype settings --- .vim/ftdetect/ia64.vim | 3 +++ .vim/ftdetect/mips.vim | 2 ++ .vim/ftdetect/rust.vim | 2 ++ .vim/ftdetect/z80.vim | 2 ++ 4 files changed, 9 insertions(+) create mode 100644 .vim/ftdetect/ia64.vim create mode 100644 .vim/ftdetect/mips.vim create mode 100644 .vim/ftdetect/rust.vim create mode 100644 .vim/ftdetect/z80.vim (limited to '.vim/ftdetect') 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 -- cgit v1.2.3