Merge pull request #15399 from mfussenegger/private-lsp-comments

docs(lsp): Prevent internal comments from showing as vim.lsp.init docs
This commit is contained in:
Thomas Vigouroux 2021-08-16 21:32:18 +02:00 committed by GitHub
commit e01b88c799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 9 deletions

View File

@ -766,15 +766,6 @@ get_log_path() *vim.lsp.get_log_path()*
Return: ~
(String) Path to logfile.
init({client}, {bufnr}) *vim.lsp.init()*
client_id → state
state pending_change?: function that the timer starts to
trigger didChange pending_changes: list of tables with the
pending changesets; for incremental_sync only
use_incremental_sync: bool buffers?: table (bufnr → lines);
for incremental sync only timer?: uv_timer
omnifunc({findstart}, {base}) *vim.lsp.omnifunc()*
Implements 'omnifunc' compatible LSP completion.

View File

@ -289,6 +289,7 @@ end
local changetracking = {}
do
--@private
--- client_id → state
---
--- state