Vim: Lower tab size on JSON files
This commit is contained in:
		
							
								
								
									
										7
									
								
								.vimrc
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								.vimrc
									
									
									
									
									
								
							@@ -52,6 +52,13 @@ let g:lightline = {
 | 
			
		||||
	\}
 | 
			
		||||
let g:lightline.colorscheme = 'breezy'
 | 
			
		||||
 | 
			
		||||
" Json
 | 
			
		||||
au BufNewFile,BufRead *.json
 | 
			
		||||
	\ set tabstop=2 |
 | 
			
		||||
	\ set softtabstop=2 |
 | 
			
		||||
	\ set shiftwidth=2 |
 | 
			
		||||
	\ set autoindent |
 | 
			
		||||
	\ set smartindent
 | 
			
		||||
" Python
 | 
			
		||||
au BufNewFile,BufRead *.py " Set up nice PEP8 indentation
 | 
			
		||||
	\ set tabstop=4 |
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user