@@ -425,10 +425,12 @@ export default {
425425 }
426426 else if ( j > 2 && details .slice ( j - 2 , j ) === ' }]' ) {
427427 ranges = JSON .parse ( details .slice ( i, j ) )
428- this .$message ( {
429- type: ' warning' ,
430- message: details .slice ( j + 1 )
431- } )
428+ if ( details .length > j + 2 ) {
429+ this .$message ( {
430+ type: ' warning' ,
431+ message: details .slice ( j + 1 )
432+ } )
433+ }
432434 break
433435 }
434436 }
@@ -439,7 +441,7 @@ export default {
439441 buf .session .setAnnotations ( ranges .map ( function ( r ) {
440442 const loc = r .locations [0 ]
441443 return {
442- row: loc .caret .line ,
444+ row: loc .caret .line - 1 ,
443445 column: loc .caret .column ,
444446 text: r .message ,
445447 type: r .kind === ' note' ? ' info' : r .kind
@@ -660,7 +662,7 @@ export default {
660662
661663/* Status */
662664.cb-red-dot ::after {
663- background-color : rgba (245 , 110 , 110 , 0.3 );
665+ background-color : rgba (245 , 110 , 110 , 0.38 );
664666 content : ' ' ;
665667 height : 9px ;
666668 width : 9px ;
@@ -670,7 +672,7 @@ export default {
670672 border-radius : 50% ;
671673}
672674.cb-tag-warning ::after {
673- background-color : rgba ( 227 , 162 , 195 , 0.3 ) ;
675+ background-color : #e6a23c ;
674676 content : ' ' ;
675677 height : 9px ;
676678 width : 9px ;
0 commit comments