mirror of
https://github.com/gryf/pylint-vim.git
synced 2025-12-18 20:10:21 +01:00
Added check for command existsing instead of setting buffer variable
This commit is contained in:
@@ -46,10 +46,8 @@
|
|||||||
|
|
||||||
let s:plugin_path = expand('<sfile>:p:h', 1)
|
let s:plugin_path = expand('<sfile>:p:h', 1)
|
||||||
|
|
||||||
if exists("b:did_pylint_plugin")
|
if exists(":Pep8")
|
||||||
finish " only load once
|
finish " only load once
|
||||||
else
|
|
||||||
let b:did_pylint_plugin = 1
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
function! s:SetPython(msg)
|
function! s:SetPython(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user