diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-09-25 19:58:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-25 16:58:27 -0700 |
commit | 63be7651829f8b77c4974d08ebe09f7775e41a8a (patch) | |
tree | 5c468c7fc512f0271db4c0aa72b62a6218fbe23c /runtime/lua/vim/lsp/util.lua | |
parent | 9ffa041a9a5fc8cd9acca97cae16f66ba0c82805 (diff) | |
download | rneovim-63be7651829f8b77c4974d08ebe09f7775e41a8a.tar.gz rneovim-63be7651829f8b77c4974d08ebe09f7775e41a8a.tar.bz2 rneovim-63be7651829f8b77c4974d08ebe09f7775e41a8a.zip |
fix(docs): invalid :help links #20345
Fix those naughty single quotes.
closes #20159
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 64512a9739..dbc18963f9 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -1504,7 +1504,7 @@ end --- ---@param contents table of lines to show in window ---@param syntax string of syntax to set for opened buffer ----@param opts table with optional fields (additional keys are passed on to |vim.api.nvim_open_win()|) +---@param opts table with optional fields (additional keys are passed on to |nvim_open_win()|) --- - height: (number) height of floating window --- - width: (number) width of floating window --- - wrap: (boolean, default true) wrap long lines @@ -1819,7 +1819,7 @@ end --- CAUTION: Modifies the input in-place! --- ---@param lines (table) list of lines ----@returns (string) filetype or 'markdown' if it was unchanged. +---@returns (string) filetype or "markdown" if it was unchanged. function M.try_trim_markdown_code_blocks(lines) local language_id = lines[1]:match('^```(.*)') if language_id then @@ -1992,7 +1992,7 @@ function M.make_workspace_params(added, removed) end --- Returns indentation size. --- ----@see |shiftwidth| +---@see 'shiftwidth' ---@param bufnr (number|nil): Buffer handle, defaults to current ---@returns (number) indentation size function M.get_effective_tabstop(bufnr) |