update: ALE python settings
This commit is contained in:
		
							parent
							
								
									39cdd93b10
								
							
						
					
					
						commit
						1fd5e44cc4
					
				
							
								
								
									
										4
									
								
								vimrc
								
								
								
								
							
							
						
						
									
										4
									
								
								vimrc
								
								
								
								
							| 
						 | 
					@ -188,12 +188,14 @@ if g:vimrc_load_dev_plugins
 | 
				
			||||||
  " when coc enabled
 | 
					  " when coc enabled
 | 
				
			||||||
  " let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []}
 | 
					  " let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []}
 | 
				
			||||||
  " when coc not enabled
 | 
					  " when coc not enabled
 | 
				
			||||||
  let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['eslint'], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': ['eslint']}
 | 
					  let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['eslint'], 'php':['php'], 'python': ['flake8'], 'html':['htmlhint'], 'vue': ['eslint']}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix'
 | 
					  let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix'
 | 
				
			||||||
  let g:ale_fixers = {'javascript': ['eslint'], 'vue': ['eslint']}
 | 
					  let g:ale_fixers = {'javascript': ['eslint'], 'vue': ['eslint']}
 | 
				
			||||||
  let g:ale_sign_error = 'Α'
 | 
					  let g:ale_sign_error = 'Α'
 | 
				
			||||||
  let g:ale_sign_warning = 'α'
 | 
					  let g:ale_sign_warning = 'α'
 | 
				
			||||||
 | 
					  let g:ale_lint_on_text_changed = 'never'
 | 
				
			||||||
 | 
					  let g:ale_lint_on_enter = 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  nmap <space>af <Plug>(ale_fix)
 | 
					  nmap <space>af <Plug>(ale_fix)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue