Document conflicting plugins check
This commit is contained in:
parent
f88f59afb8
commit
e59e57d2e4
1 changed files with 7 additions and 0 deletions
|
@ -1,7 +1,12 @@
|
|||
" Author: w0rp <devw0rp@gmail.com>
|
||||
" Description: Follow-up checks for the plugin: warn about conflicting plugins.
|
||||
|
||||
" A flag for ensuring that this is not run more than one time.
|
||||
if exists('g:loaded_ale_after')
|
||||
finish
|
||||
endif
|
||||
|
||||
" Set the flag so this file is not run more than one time.
|
||||
let g:loaded_ale_after = 1
|
||||
|
||||
" Check if the flag is available and set to 0 to disable checking for and
|
||||
|
@ -10,6 +15,8 @@ if exists('g:ale_emit_conflict_warnings') && !g:ale_emit_conflict_warnings
|
|||
finish
|
||||
endif
|
||||
|
||||
" Conflicting Plugins Checks
|
||||
|
||||
function! s:GetConflictingPluginWarning(plugin_name) abort
|
||||
return 'ALE conflicts with ' . a:plugin_name
|
||||
\ . '. Uninstall it, or disable this warning with '
|
||||
|
|
Reference in a new issue