mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 17:05:42 +08:00
Fix error when Open markdown file
hi IDs more than 999
This commit is contained in:
parent
b5bd033fef
commit
1a93e8db4c
@ -1,7 +1,7 @@
|
|||||||
let s:self = {}
|
let s:self = {}
|
||||||
|
|
||||||
function! s:self.group2dict(name) abort
|
function! s:self.group2dict(name) abort
|
||||||
let id = index(map(range(999), "synIDattr(v:val, 'name')"), a:name)
|
let id = index(map(range(1999), "synIDattr(v:val, 'name')"), a:name)
|
||||||
if id == -1
|
if id == -1
|
||||||
return {}
|
return {}
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user