diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2016-12-18 10:48:36 -0500 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2016-12-18 10:48:36 -0500 |
| commit | 656eeaaaacd32ceaa0c5363684b91962df20936a (patch) | |
| tree | f0536b643ecc3f23a92b01f855a003ae2c46e407 /init.vim | |
| parent | 08027c132e94dda8927e572dd2ae77f652adc583 (diff) | |
| download | vim-cfg-656eeaaaacd32ceaa0c5363684b91962df20936a.tar.gz vim-cfg-656eeaaaacd32ceaa0c5363684b91962df20936a.tar.xz | |
Set specific options for markdown files
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -113,6 +113,10 @@ set updatecount=0 " Vi in-compatibility set nocompatible +set tabstop=4 +set shiftwidth=4 +set noexpandtab + autocmd Filetype python call SetPythonOptions() autocmd Filetype htmldjango call SethtmldjangoOptions() @@ -122,7 +126,15 @@ autocmd Filetype html call SetHTMLOptions() autocmd Filetype sh call SetShellOptions() autocmd Filetype go call SetGoOptions() autocmd Filetype yaml call SetYamlOptions() +autocmd Filetype markdown call SetMarkdownOptions() +function SetMarkdownOptions() + set spell + set tabstop=4 + set shiftwidth=4 + set expandtab + AcpDisable +endfunction function SetPythonOptions() set tabstop=4 set shiftwidth=4 @@ -183,10 +195,6 @@ function SetYamlOptions() set noic endfunction -set tabstop=4 -set shiftwidth=4 -set noexpandtab - function! PhpSyntaxOverride() hi! def link phpDocTags phpDefine |
