autoload/lsp/semantichighlight.vim | 8 ++------ diff --git a/autoload/lsp/semantichighlight.vim b/autoload/lsp/semantichighlight.vim index 243aea9ded828a86146ca0f9ed4a6673a8696d52..130463bea1cdc3c06596a573c4ce7e0fb1ac96d2 100644 --- a/autoload/lsp/semantichighlight.vim +++ b/autoload/lsp/semantichighlight.vim @@ -172,10 +172,7 @@ if !props->has_key(typeStr) props[typeStr] = [] endif - props[typeStr]->add([ - lnum, r.start.character + 1, - lnum, r.end.character + 1 - ]) + props[typeStr]->add([lnum, r.start.character + 1, lnum, r.end.character + 1]) i += 5 endwhile @@ -220,8 +217,7 @@ # Apply the new text properties for tokenType in TokenTypeMap->keys() if props->has_key(tokenType) - prop_add_list({bufnr: bnr, type: TokenTypeMap[tokenType]}, - props[tokenType]) + prop_add_list({bufnr: bnr, type: TokenTypeMap[tokenType]}, props[tokenType]) endif endfor enddef