Markdown improvements
git-svn-id: http://photonzero.com/dotfiles/trunk@51 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
6e57e985bb
commit
edb42d8a63
2 changed files with 63 additions and 35 deletions
|
|
@ -1,7 +1,8 @@
|
|||
" markdown filetype file
|
||||
" general per-language filetype file
|
||||
if exists("did\_load\_filetypes")
|
||||
finish
|
||||
endif
|
||||
" Filetype mappingss
|
||||
augroup markdown
|
||||
au! BufRead,BufNewFile *.mkd setfiletype mkd
|
||||
augroup END
|
||||
|
|
@ -11,19 +12,26 @@ augroup END
|
|||
augroup csv
|
||||
au! BufNewFile,BufRead *.csv setf csv
|
||||
augroup END
|
||||
|
||||
au BufRead,BufNewFile *.go set filetype=go
|
||||
|
||||
"Settings per filetype
|
||||
augroup python
|
||||
"autocmd FileType python set omnifunc=pythoncomplete#Complete
|
||||
"autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
|
||||
"autocmd FileType python set completeopt-=preview
|
||||
autocmd FileType python set ts=4
|
||||
autocmd FileType python set softtabstop=4
|
||||
autocmd FileType python set shiftwidth=4
|
||||
autocmd FileType python set expandtab
|
||||
"autocmd FileType python set omnifunc=pythoncomplete#Complete
|
||||
"autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
|
||||
"autocmd FileType python set completeopt-=preview
|
||||
autocmd FileType python set ts=4
|
||||
autocmd FileType python set softtabstop=4
|
||||
autocmd FileType python set shiftwidth=4
|
||||
autocmd FileType python set expandtab
|
||||
augroup END
|
||||
augroup javascript
|
||||
autocmd FileType javascript set ts=4
|
||||
autocmd FileType javascript set softtabstop=4
|
||||
autocmd FileType javascript set shiftwidth=4
|
||||
autocmd FileType javascript set expandtab
|
||||
autocmd FileType javascript set ts=4
|
||||
autocmd FileType javascript set softtabstop=4
|
||||
autocmd FileType javascript set shiftwidth=4
|
||||
autocmd FileType javascript set expandtab
|
||||
augroup END
|
||||
|
||||
augroup mkd
|
||||
autocmd FileType mkd set ai formatoptions=tcroqn2 comments=n:>
|
||||
augroup END
|
||||
au BufRead,BufNewFile *.go set filetype=go
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue