Micro optimization

This commit is contained in:
Kovid Goyal
2021-03-15 11:45:41 +05:30
parent 95ef1423d4
commit 0e4dfc25a2
+1 -1
View File
@@ -20,7 +20,7 @@ def highlight_get_cfi(hl):
cfi = hl.start_cfi
if cfi:
si = f'/{hl.spine_index}' if hl.spine_index? else no_cfi
return f'{si}{cfi}'
return si + cfi
return no_cfi