Skip to content

Commit 26fa59f

Browse files
committed
nvim: fix define empty struct tags
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
1 parent 7c85d51 commit 26fa59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvim/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ type Mapping struct {
201201
// ClientVersion represents a version of client for nvim.
202202
type ClientVersion struct {
203203
// Major major version. (defaults to 0 if not set, for no release yet)
204-
Major int `msgpack:"major,omitempty" empty:"0"`
204+
Major int `msgpack:"major"`
205205

206206
// Minor minor version.
207207
Minor int `msgpack:"minor,omitempty"`

0 commit comments

Comments
 (0)