File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3570,8 +3570,8 @@ func testHighlight(v *Nvim) func(*testing.T) {
35703570 const testHLName = `Test`
35713571 testHLAttrs := & HLAttrs {
35723572 Bold : true ,
3573- CtermForeground : cm [ `Red` ] ,
3574- CtermBackground : cm [ `Yellow` ] ,
3573+ CtermForeground : 12 ,
3574+ CtermBackground : 14 ,
35753575 }
35763576 if err := v .SetHighlight (nsID , testHLName , testHLAttrs ); err != nil {
35773577 t .Fatal (err )
@@ -3647,8 +3647,8 @@ func testHighlight(v *Nvim) func(*testing.T) {
36473647 const testHLName = `Test`
36483648 testHLAttrs := & HLAttrs {
36493649 Bold : true ,
3650- CtermForeground : cm [ `Red` ] ,
3651- CtermBackground : cm [ `Yellow` ] ,
3650+ CtermForeground : 12 ,
3651+ CtermBackground : 14 ,
36523652 }
36533653 b .SetHighlight (nsID , testHLName , testHLAttrs )
36543654 if err := b .Execute (); err != nil {
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ type HLAttrs struct {
152152
153153 // Cterm is cterm attribute map. Sets attributed for cterm colors.
154154 //
155- // Note thet by default cterm attributes are same as attributes of gui color.
155+ // Note that by default cterm attributes are same as attributes of gui color.
156156 //
157157 // This value is used only SetHighlight.
158158 Cterm * HLAttrs `msgpack:"cterm,omitempty"`
You can’t perform that action at this time.
0 commit comments