diff options
-rw-r--r-- | runtime/doc/lsp.txt | 4 | ||||
-rw-r--r-- | runtime/doc/news.txt | 4 | ||||
-rw-r--r-- | runtime/lua/vim/lsp/log.lua | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index a943e0de44..c314d632d7 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -370,7 +370,7 @@ Handlers can be set by (in increasing priority): vim.lsp.start { ..., -- Other configuration omitted. handlers = { - ['textDocument/publishDiagnostics'] = my_custom_server_definition + ['textDocument/publishDiagnostics'] = my_custom_diagnostics_handler }, } @@ -2498,7 +2498,7 @@ set_level({level}) *vim.lsp.log.set_level()* Sets the current log level. Parameters: ~ - • {level} (`string|integer`) One of `vim.lsp.log.levels` + • {level} (`string|integer`) One of |vim.log.levels| should_log({level}) *vim.lsp.log.should_log()* Checks whether the level is sufficient for logging. diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index cb5a7c8a6c..a0a7fa0dee 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -60,8 +60,6 @@ API This is not expected to break clients because there are no known clients that actually use the `return_type` field or the parameter type names reported by |--api-info| or |nvim_get_api_info()|. -• |nvim_open_win()| supports a `mouse` field that allows configuring mouse - interaction with the window separately from `focusable` field. • Renamed `nvim__id_dictionary` (unsupported/experimental API) to `nvim__id_dict`. @@ -201,6 +199,8 @@ API • |nvim__ns_set()| can set properties for a namespace • |nvim_echo()| `err` field to print error messages and `chunks` accepts highlight group IDs. +• |nvim_open_win()| supports a `mouse` field that allows configuring mouse + interaction with the window separately from `focusable` field. • |nvim_open_win()| `relative` field can be set to "laststatus" and "tabline". • Additions to |nvim_buf_set_extmark()|: • `conceal_lines` field to conceal an entire line. diff --git a/runtime/lua/vim/lsp/log.lua b/runtime/lua/vim/lsp/log.lua index 0f93369a0c..e28a856215 100644 --- a/runtime/lua/vim/lsp/log.lua +++ b/runtime/lua/vim/lsp/log.lua @@ -148,7 +148,7 @@ log.trace = create_logger('TRACE', log_levels.TRACE) log.warn = create_logger('WARN', log_levels.WARN) --- Sets the current log level. ----@param level (string|integer) One of `vim.lsp.log.levels` +---@param level (string|integer) One of |vim.log.levels| function log.set_level(level) if type(level) == 'string' then current_log_level = |