Added indendation
This commit is contained in:
parent
3b485d1a87
commit
1a25f9aa01
6 changed files with 88 additions and 21 deletions
0
autoload/features/repl.vim
Normal file
0
autoload/features/repl.vim
Normal file
|
|
@ -86,7 +86,7 @@ function! s:NimHighlighter.on_exit()
|
|||
|
||||
if has_key(s:highlights, ctype)
|
||||
if has_key(semantics_set, ctype)
|
||||
call add(b:highlights, matchaddpos("Semantic" . util#djb(strpart(str, c - 1, s)) % 20, [[line, c, s]]))
|
||||
call add(b:highlights, matchaddpos("Semantic" . abs(util#djb(strpart(str, c - 1, s))) % 20, [[line, c, s]]))
|
||||
else
|
||||
call add(b:highlights, matchaddpos(s:highlights[ctype], [[line, c, s]]))
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue