1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

fix(python): fix python support for neovim 0.7

This commit is contained in:
wsdjeg 2022-09-10 21:41:06 +08:00
parent 4d6554e187
commit 2067108074
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,8 @@ let s:self = {}
let s:CMP = SpaceVim#api#import('vim#compatible')
if s:CMP.has('python')
if s:CMP.has('python') && !has('nvim-0.7')
" https://github.com/neovim/neovim/pull/17222
" @vimlint(EVL103, 1, a:text)
function! s:self.encode(text) abort
py import vim

View File

@ -2319,7 +2319,7 @@ This layer provides syntax highlighting for asciidoc. To enable this layer:
<
==============================================================================
LANG#ASEPCTJ *SpaceVim-layers-lang-aspectj*
LANG#ASPECTJ *SpaceVim-layers-lang-aspectj*
This layer provides syntax highlighting for aspectj. To enable this layer:
>