Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 894616a

Browse files
committed
docs(doc): doc of g:coc_service_initialized
1 parent 4817390 commit 894616a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

doc/coc.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,10 @@ g:coc_install_yarn_cmd *g:coc_install_yarn_cmd*
15961596
Some variables are provided by coc.nvim so you can use them in your
15971597
statusline. See |coc-status| for detail.
15981598

1599+
g:coc_service_initialized *g:coc_service_initialized*
1600+
1601+
Is `1` when coc.nvim initialized, used with autocmd |CocNvimInit|.
1602+
15991603
b:coc_diagnostic_info *b:coc_diagnostic_info*
16001604

16011605
Diagnostic information of current buffer, the format would look like:

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default class Plugin extends EventEmitter {
4141
})
4242
this.cursors = new Cursors(nvim)
4343
this.addAction('hasProvider', (id: string) => this.handler.hasProvider(id))
44-
this.addAction('getTagList', async () => await this.handler.locations.getTagList())
44+
this.addAction('getTagList', () => this.handler.locations.getTagList())
4545
this.addAction('hasSelected', () => completion.hasSelected())
4646
this.addAction('listNames', () => listManager.names)
4747
this.addAction('listDescriptions', () => listManager.descriptions)

0 commit comments

Comments
 (0)