Skip to content

Commit 26e7b2e

Browse files
committed
Add toml in gopher_tag_complete
1 parent 2d3bb03 commit 26e7b2e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

autoload/gopher/init.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fun! gopher#init#config() abort
6060
let g:gopher_highlight = get(g:, 'gopher_highlight', ['string-spell', 'string-fmt'])
6161
let g:gopher_tag_transform = get(g:, 'gopher_tag_transform', 'snakecase')
6262
let g:gopher_tag_default = get(g:, 'gopher_tag_default', 'json')
63-
let g:gopher_tag_complete = get(g:, 'gopher_tag_complete', ['db', 'json', 'json,omitempty', 'yaml'])
63+
let g:gopher_tag_complete = get(g:, 'gopher_tag_complete', ['db', 'json', 'toml', 'yaml'])
6464

6565
call s:map()
6666

doc/gopher.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ COMMANDS *gopher-commands*
504504
any valid set of arguments for |:GoTags| (for example
505505
`json,omitempty -rm yaml`).
506506

507-
*g:gopher_tag_complete* = `['db', 'json', 'json,omitempty', 'yaml']`
507+
*g:gopher_tag_complete* = `['db', 'json', 'toml', 'yaml']`
508508
Values for tab-completion.
509509

510510
*g:gopher_tag_transform* = `'snakecase'`

0 commit comments

Comments
 (0)