mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 02:30:03 +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 = {}
|
||||
|
||||
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
|
||||
return {}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user