mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
stylua
This commit is contained in:
@@ -22,7 +22,7 @@ local function command_find_all_tags(opts)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function trim(s)
|
local function trim(s)
|
||||||
if s:sub(1, 1) == '"' or s:sub(1, 1) == "'" then
|
if s:sub(1, 1) == '"' or s:sub(1, 1) == "'" then
|
||||||
s = s:sub(2)
|
s = s:sub(2)
|
||||||
end
|
end
|
||||||
return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
|
return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
|
||||||
|
|||||||
Reference in New Issue
Block a user