File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,18 +26,18 @@ function createDecorationUnderline(key: string): vscode.TextEditorDecorationType
2626 if ( typeof ( color ) === 'string' ) {
2727 config . light = {
2828 color,
29- textDecoration : `underline;text-decoration-color:${ color } ;`
29+ textDecoration : `underline;text-decoration-color:${ color } ;text-underline-offset: 4px; `
3030 } ;
3131 config . dark = {
3232 color,
33- textDecoration : `underline;text-decoration-color:${ color } ;`
33+ textDecoration : `underline;text-decoration-color:${ color } ;text-underline-offset: 4px; `
3434 } ;
3535 } else {
3636 config . light = {
37- textDecoration : `underline;`
37+ textDecoration : `underline;text-underline-offset: 4px; `
3838 } ;
3939 config . dark = {
40- textDecoration : `underline;`
40+ textDecoration : `underline;text-underline-offset: 4px; `
4141 } ;
4242 }
4343 return vscode . window . createTextEditorDecorationType ( config ) ;
You can’t perform that action at this time.
0 commit comments