vim-go-syntax icon indicating copy to clipboard operation
vim-go-syntax copied to clipboard

Fix Struct and Interface Syntax Issues

Open charlespascoe opened this issue 1 year ago • 0 comments

  • Multiline comma not highlighted in structs e.g. the , isn't highlighted:
type Foo struct {
    A,
    B string
}
  • Semicolons not highlighted in interfaces
  • Embedded type with tag not highlighted as type, e.g. Bar isn't highlighted as a type:
type Foo struct {
    Bar `json:"bar"`
}

charlespascoe avatar May 24 '24 12:05 charlespascoe