aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vim/ftdetect/tex.vim2
-rw-r--r--.vimrc12
2 files changed, 8 insertions, 6 deletions
diff --git a/.vim/ftdetect/tex.vim b/.vim/ftdetect/tex.vim
new file mode 100644
index 0000000..de66b8f
--- /dev/null
+++ b/.vim/ftdetect/tex.vim
@@ -0,0 +1,2 @@
+"mips asm suffixed with .mips
+au! BufRead,BufNewFile *.tex set filetype=tex
diff --git a/.vimrc b/.vimrc
index d55f0bb..382f661 100644
--- a/.vimrc
+++ b/.vimrc
@@ -290,7 +290,7 @@ if has("autocmd")
au FileType coffee call Settings_coffee()
au FileType conf call Settings_conf()
au FileType cpp call Settings_c()
- au FileType crystal call Settings_script2()
+ au FileType crystal call Settings_crystal()
au FileType cs call Settings_c()
au FileType css call Settings_css()
au FileType d call Settings_c()
@@ -392,6 +392,11 @@ function! Settings_conf()
setlocal expandtab
endfunction
+function! Settings_crystal()
+ call Settings_script2()
+ setlocal expandtab
+endfunction
+
function! Settings_css()
call Settings_c()
"settings
@@ -562,11 +567,6 @@ function! Settings_vim()
nnoremap <buffer> -- O"
endfunction
-function! Settings_yaml()
- call Settings_script2()
- setlocal expandtab
-endfunction
-
function! Settings_z80()
"settings
setlocal shiftwidth=6