[vim] Add rst plugin and config
This commit is contained in:
		
							parent
							
								
									9f9e685e18
								
							
						
					
					
						commit
						7051fa08f7
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -36,8 +36,8 @@ match WhitespaceEOL /\s\+\%#\@<!$/ | |||
| " Remove all trailing whitespace by pressing Ctrl+k | ||||
| nnoremap <C-k> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar><CR> | ||||
| 
 | ||||
| " Language indents | ||||
| autocmd FileType py         set textwidth=79 | ||||
| " Language indents and line lengths | ||||
| autocmd FileType py,rst,md  set textwidth=79 | ||||
| autocmd FileType html       set softtabstop=2 shiftwidth=2 omnifunc=htmlcomplete#CompleteTags | ||||
| autocmd FileType yaml       set softtabstop=2 shiftwidth=2 | ||||
| autocmd FileType css        set softtabstop=2 shiftwidth=2 omnifunc=csscomplete#CompleteCSS | ||||
|  |  | |||
|  | @ -24,6 +24,7 @@ let g:scala_scaladoc_indent = 1 | |||
| Plugin 'elmcast/elm-vim' | ||||
| Plugin 'rust-lang/rust.vim' | ||||
| Plugin 'racer-rust/vim-racer' | ||||
| Plugin 'Rykka/riv.vim' | ||||
| 
 | ||||
| " Async Lint Engine | ||||
| Plugin 'w0rp/ale' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue