Skip to content

Commit 872113e

Browse files
committed
fix: load @text.underline only on neovim >= 0.8
1 parent a97aeb0 commit 872113e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

colors/codedark.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ if has("nvim")
305305
call <sid>hiTS('@text', 'TSText', s:cdFront, s:cdNone, 'bold', {})
306306
call <sid>hiTS('@text.strong', 'TSStrong', s:cdFront, s:cdNone, 'bold', {})
307307
call <sid>hiTS('@text.emphasis', 'TSEmphasis', s:cdYellowOrange, s:cdNone, 'italic', {})
308-
hi! link @text.underline Underlined
308+
call <sid>hiTSlink('@text.underline', 'TSUnderline', 'Underlined')
309309
call <sid>hiTS('@text.title', 'TSTitle', s:cdBlue, {}, 'bold', {})
310310
call <sid>hiTS('@text.literal', 'TSLiteral', s:cdOrange, {}, 'none', {})
311311
call <sid>hiTS('@text.uri', 'TSURI', s:cdOrange, {}, 'none', {})

0 commit comments

Comments
 (0)