mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
fix(python): fix python support for neovim 0.7
This commit is contained in:
parent
4d6554e187
commit
2067108074
@ -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
|
||||
|
@ -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:
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user