File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import {
3333import { displayValue } from '../../vimscript/expression/displayValue' ;
3434import { VimError } from '../../error' ;
3535import { bangParser } from '../../vimscript/parserUtils' ;
36+ import { Register } from '../../register/register' ;
3637
3738type Unpack = {
3839 type : 'unpack' ;
@@ -249,7 +250,8 @@ export class LetCommand extends ExCommand {
249250 }
250251 context . setVariable ( variable , newValue ( variable , value ) , this . args . lock ) ;
251252 } else if ( variable . type === 'register' ) {
252- // TODO
253+ vimState . recordedState . registerName = variable . name ;
254+ Register . put ( vimState , toString ( value ) ) ;
253255 } else if ( variable . type === 'option' ) {
254256 // TODO
255257 } else if ( variable . type === 'env_variable' ) {
You can’t perform that action at this time.
0 commit comments