mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:30:04 +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')
|
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)
|
" @vimlint(EVL103, 1, a:text)
|
||||||
function! s:self.encode(text) abort
|
function! s:self.encode(text) abort
|
||||||
py import vim
|
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:
|
This layer provides syntax highlighting for aspectj. To enable this layer:
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user