aboutsummaryrefslogtreecommitdiffstats
path: root/.vim/ftdetect
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2018-11-17 17:47:08 -0700
committerkatherine <shmibs@shmibbles.me>2018-11-17 17:47:08 -0700
commit36dac6212b2b656b731298bed1eb6332a40babdf (patch)
treecf62941dc3ff52979ab234a508618b564a00700e /.vim/ftdetect
parent21beea0d5b0a4cbecd91016bea639093e7f38f12 (diff)
downloaddotfiles-36dac6212b2b656b731298bed1eb6332a40babdf.tar.gz
clean up vim filetype settings
Diffstat (limited to '.vim/ftdetect')
-rw-r--r--.vim/ftdetect/ia64.vim3
-rw-r--r--.vim/ftdetect/mips.vim2
-rw-r--r--.vim/ftdetect/rust.vim2
-rw-r--r--.vim/ftdetect/z80.vim2
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