mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 14:43:35 +08:00 
			
		
		
		
	Updated plugins
This commit is contained in:
		
							
								
								
									
										13
									
								
								sources_non_forked/ale/ale_linters/swift/sourcekitlsp.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								sources_non_forked/ale/ale_linters/swift/sourcekitlsp.vim
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | ||||
| " Author: Dan Loman <https://github.com/namolnad> | ||||
| " Description: Support for sourcekit-lsp https://github.com/apple/sourcekit-lsp | ||||
|  | ||||
| call ale#Set('sourcekit_lsp_executable', 'sourcekit-lsp') | ||||
|  | ||||
| call ale#linter#Define('swift', { | ||||
| \   'name': 'sourcekitlsp', | ||||
| \   'lsp': 'stdio', | ||||
| \   'executable': {b -> ale#Var(b, 'sourcekit_lsp_executable')}, | ||||
| \   'command': '%e', | ||||
| \   'project_root': function('ale#swift#FindProjectRoot'), | ||||
| \   'language': 'swift', | ||||
| \}) | ||||
		Reference in New Issue
	
	Block a user
	 Amir Salihefendic
					Amir Salihefendic