Use 8 spaces in Markdown and highlight two end columns

This commit is contained in:
Anthony Rose 2018-04-19 10:13:18 +01:00
parent b59a0baa53
commit 20e8560e1d

5
vimrc
View file

@ -31,7 +31,7 @@ set autoindent
set autoread set autoread
set background=dark set background=dark
set backspace=indent,eol,start set backspace=indent,eol,start
set colorcolumn=80 set colorcolumn=73,81
set complete-=i set complete-=i
set cursorcolumn set cursorcolumn
set cursorline set cursorline
@ -60,7 +60,7 @@ set shiftwidth=4
set smartcase set smartcase
set smarttab set smarttab
set spl=en_gb nospell set spl=en_gb nospell
set tabstop=4 set tabstop=8
set ttimeout set ttimeout
set ttimeoutlen=100 set ttimeoutlen=100
set ttyfast set ttyfast
@ -108,6 +108,7 @@ if has("autocmd")
autocmd BufRead,BufNewFile *.html set shiftwidth=2 autocmd BufRead,BufNewFile *.html set shiftwidth=2
autocmd BufRead,BufNewFile *.md set filetype=markdown autocmd BufRead,BufNewFile *.md set filetype=markdown
autocmd BufRead,BufNewFile *.md set shiftwidth=2 autocmd BufRead,BufNewFile *.md set shiftwidth=2
autocmd BufRead,BufNewFile *.md set tabstop=4
autocmd BufRead,BufNewFile *.xml set shiftwidth=2 autocmd BufRead,BufNewFile *.xml set shiftwidth=2
autocmd BufRead,BufNewFile *.yml set shiftwidth=2 autocmd BufRead,BufNewFile *.yml set shiftwidth=2
endif endif