File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,20 @@ module.exports = class lensProvider {
29
29
line = line . padEnd ( 30 ) ;
30
30
// Not a comment
31
31
if ( line [ 6 ] !== `*` ) {
32
- if ( line [ 5 ] . toUpperCase ( ) === `A` ) {
33
- // Is a record format definition
34
- if ( line [ 16 ] . toUpperCase ( ) === `R` ) {
35
- const name = line . substring ( 18 , 28 ) . trim ( ) ;
32
+ // Is a record format definition
33
+ if ( line [ 16 ] . toUpperCase ( ) === `R` ) {
34
+ const name = line . substring ( 18 , 28 ) . trim ( ) ;
36
35
37
- codeLens . push ( new vscode . CodeLens (
38
- new vscode . Range (
39
- index , 0 , index , 0
40
- ) ,
41
- {
42
- command : `vscode-displayfile.render` ,
43
- title : `Preview ${ name } ` ,
44
- arguments : [ lines , name , document . languageId ]
45
- }
46
- ) ) ;
47
- }
36
+ codeLens . push ( new vscode . CodeLens (
37
+ new vscode . Range (
38
+ index , 0 , index , 0
39
+ ) ,
40
+ {
41
+ command : `vscode-displayfile.render` ,
42
+ title : `Preview ${ name } ` ,
43
+ arguments : [ lines , name , document . languageId ]
44
+ }
45
+ ) ) ;
48
46
}
49
47
}
50
48
} ) ;
You can’t perform that action at this time.
0 commit comments