From 644c6188254b79c8a200ba474cf3b9b478185e16 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 27 Apr 2025 15:44:11 -0700 Subject: docs: lsp, lua #33682 - sort fields alphabetically. - in the `vim.lsp.Client` docs, reference `vim.lsp.ClientConfig` instead of duplicating its docs. - cleanup lots of redundant-yet-drifted field docs. --- runtime/lua/vim/shared.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/lua/vim/shared.lua') diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua index 3aeda1586d..16414e2828 100644 --- a/runtime/lua/vim/shared.lua +++ b/runtime/lua/vim/shared.lua @@ -95,7 +95,7 @@ end --- --- @see |string.gmatch()| --- @see |vim.split()| ---- @see |lua-patterns| +--- @see |lua-pattern|s --- @see https://www.lua.org/pil/20.2.html --- @see http://lua-users.org/wiki/StringLibraryTutorial --- @@ -784,7 +784,7 @@ end --- Trim whitespace (Lua pattern "%s") from both sides of a string. --- ----@see |lua-patterns| +---@see |lua-pattern|s ---@see https://www.lua.org/pil/20.2.html ---@param s string String to trim ---@return string String with whitespace removed from its beginning and end @@ -793,7 +793,7 @@ function vim.trim(s) return s:match('^%s*(.*%S)') or '' end ---- Escapes magic chars in |lua-patterns|. +--- Escapes magic chars in |lua-pattern|s. --- ---@see https://github.com/rxi/lume ---@param s string String to escape -- cgit