1
0
Taddeus Kroes 11 лет назад
Родитель
Сommit
47e5e09008
4 измененных файлов с 8 добавлено и 6 удалено
  1. 1 0
      .gitignore
  2. 3 0
      vim/spell/en.utf-8.add
  3. BIN
      vim/spell/en.utf-8.add.spl
  4. 4 6
      vimrc

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
 vim/.*
 *.swp
 vim/bundle/*
+vim/spell/*.spl

+ 3 - 0
vim/spell/en.utf-8.add

@@ -52,3 +52,6 @@ leaderboards
 toolchain
 LLVM
 workflow
+deobfuscates
+toolchain
+plugins

BIN
vim/spell/en.utf-8.add.spl


+ 4 - 6
vimrc

@@ -114,11 +114,7 @@ cmap w!! w !sudo tee % >/dev/null
 " ---------------
 
 " Some files only have 2 spaces indent
-autocmd FileType sass,html set shiftwidth=2
-
-" Tabs in Makefiles are 4 spaces since they are required and thus need not be
-" religiously burned
-autocmd FileType make set tabstop=4
+autocmd FileType sass,html,ocaml set shiftwidth=2
 
 " Make pfd's readable
 autocmd BufReadPre *.pdf set ro nowrap
@@ -130,8 +126,10 @@ autocmd BufNewFile,BufRead *.cvc set filetype=c
 " Status line highlight
 highlight StatusLine ctermbg=black ctermfg=grey
 
-" Syntax highlighting for .less files
+" Syntax highlighting by extension
 autocmd BufNewFile,BufRead *.less set filetype=less
+autocmd BufNewFile,BufRead *.md set filetype=markdown
+autocmd BufNewFile,BufRead *.gv set filetype=dot
 
 " Highlight and underline badly spelled words when spellcheck is on
 highlight SpellBad guisp=#fcaf3e cterm=underline