Fix traceback when +python3 is not availble
This commit is contained in:
parent
7d83419a4f
commit
13a5a1b947
3 changed files with 11 additions and 1 deletions
|
|
@ -13,6 +13,13 @@
|
|||
" See the License for the specific language governing permissions and
|
||||
" limitations under the License.
|
||||
|
||||
if !has( 'python3' )
|
||||
echohl WarningMsg
|
||||
echom 'Vimspector unavailable: Requires Vim compiled with +python3'
|
||||
echohl None
|
||||
finish
|
||||
endif
|
||||
|
||||
" Boilerplate {{{
|
||||
let s:save_cpo = &cpoptions
|
||||
set cpoptions&vim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue