Fix traceback when +python3 is not availble

This commit is contained in:
Ben Jackson 2021-04-09 16:54:38 +01:00
commit 13a5a1b947
3 changed files with 11 additions and 1 deletions

View file

@ -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