add spelling and toml support
This commit is contained in:
parent
309a671d4f
commit
b12ad5cd03
@ -50,6 +50,8 @@ call plug#begin('~/.vim/plugged')
|
||||
"md
|
||||
Plug 'godlygeek/tabular'
|
||||
Plug 'plasticboy/vim-markdown'
|
||||
"toml
|
||||
Plug 'cespare/vim-toml'
|
||||
call plug#end()
|
||||
|
||||
"plugin settings
|
||||
@ -94,7 +96,7 @@ let g:vim_markdown_folding_disabled = 1
|
||||
" colorscheme yuejiu
|
||||
" colorscheme wargrey
|
||||
" colorscheme Tomorrow-Night-Bright
|
||||
colorscheme monokai-phoenix
|
||||
" colorscheme monokai-phoenix
|
||||
|
||||
"general settings
|
||||
"----------------
|
||||
@ -109,7 +111,6 @@ set confirm
|
||||
set background=dark
|
||||
set number
|
||||
set wrap
|
||||
set showbreak=↪\
|
||||
set listchars=tab:→\ ,extends:›,precedes:‹,nbsp:·,trail:·,eol:¬
|
||||
set list
|
||||
set foldmethod=marker
|
||||
@ -295,5 +296,6 @@ if has("autocmd")
|
||||
autocmd FileType html :syntax sync fromstart
|
||||
autocmd FileType html,javascript,css,json,yaml,sh
|
||||
\ setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd BufRead,BufNewFile *.md,*.txt setlocal spell
|
||||
augroup END
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user