File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -102,24 +102,6 @@ export async function createClient(
102102 }
103103 } ,
104104 } ,
105- async provideInlayHints ( document , viewPort , token , next ) {
106- const inlays = await next ( document , viewPort , token ) ;
107- if ( ! inlays ) {
108- return inlays ;
109- }
110- // U+200C is a zero-width non-joiner to prevent the editor from forming a ligature
111- // between code and hints
112- for ( const inlay of inlays ) {
113- if ( typeof inlay . label === "string" ) {
114- inlay . label = `\u{200c}${ inlay . label } \u{200c}` ;
115- } else if ( Array . isArray ( inlay . label ) ) {
116- for ( const it of inlay . label ) {
117- it . value = `\u{200c}${ it . value } \u{200c}` ;
118- }
119- }
120- }
121- return inlays ;
122- } ,
123105 async handleDiagnostics (
124106 uri : vscode . Uri ,
125107 diagnosticList : vscode . Diagnostic [ ] ,
You can’t perform that action at this time.
0 commit comments