diff options
author | Mathias Fussenegger <f.mathias@zignar.net> | 2021-08-16 20:24:30 +0200 |
---|---|---|
committer | Mathias Fussenegger <f.mathias@zignar.net> | 2021-08-16 20:27:51 +0200 |
commit | c1e17866c8a682b6f676064d8124298553231a08 (patch) | |
tree | fb41695bfb17cd0c3ab95e1298c29e388202ccea | |
parent | 4ba74953b514397b6c061edafe614917925b3a77 (diff) | |
download | rneovim-c1e17866c8a682b6f676064d8124298553231a08.tar.gz rneovim-c1e17866c8a682b6f676064d8124298553231a08.tar.bz2 rneovim-c1e17866c8a682b6f676064d8124298553231a08.zip |
docs(lsp): prevent internal comments from showing as vim.lsp.init docs
-rw-r--r-- | runtime/doc/lsp.txt | 9 | ||||
-rw-r--r-- | runtime/lua/vim/lsp.lua | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 7e589c095b..360c6bac75 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -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. diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 87ecc3eeea..76d5cd1a3e 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -289,6 +289,7 @@ end local changetracking = {} do + --@private --- client_id → state --- --- state |