mirror of
https://github.com/kevinhwang91/nvim-ufo
synced 2024-09-16 14:14:02 +02:00
chore: format code with latest options
This commit is contained in:
parent
138b39f5b2
commit
45aede6f5c
19 changed files with 96 additions and 98 deletions
|
@ -7,13 +7,10 @@ charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.lua]
|
[*.lua]
|
||||||
align_call_args = only_not_exist_cross_row_expression
|
align_continuous_assign_statement = false
|
||||||
align_table_field_to_first_field = true
|
space_around_table_field_list = false
|
||||||
local_assign_continuation_align_to_first_expression = true
|
align_call_args = false
|
||||||
keep_one_space_between_table_and_bracket = false
|
|
||||||
quote_style = single
|
quote_style = single
|
||||||
remove_empty_header_and_footer_lines_in_function = true
|
|
||||||
remove_expression_list_finish_comma= true
|
|
||||||
|
|
||||||
[*.json,*.jsonc]
|
[*.json,*.jsonc]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
local api = vim.api
|
local api = vim.api
|
||||||
|
|
||||||
local buffer = require('ufo.model.buffer')
|
local buffer = require('ufo.model.buffer')
|
||||||
local event = require('ufo.lib.event')
|
local event = require('ufo.lib.event')
|
||||||
local disposable = require('ufo.lib.disposable')
|
local disposable = require('ufo.lib.disposable')
|
||||||
local promise = require('promise')
|
local promise = require('promise')
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
|
|
||||||
---@class UfoBufferManager
|
---@class UfoBufferManager
|
||||||
---@field initialized boolean
|
---@field initialized boolean
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
local api = vim.api
|
local api = vim.api
|
||||||
local fn = vim.fn
|
local fn = vim.fn
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
|
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local config = require('ufo.config')
|
local config = require('ufo.config')
|
||||||
local log = require('ufo.lib.log')
|
local log = require('ufo.lib.log')
|
||||||
local disposable = require('ufo.lib.disposable')
|
local disposable = require('ufo.lib.disposable')
|
||||||
local event = require('ufo.lib.event')
|
local event = require('ufo.lib.event')
|
||||||
|
|
||||||
local fold = require('ufo.fold')
|
local fold = require('ufo.fold')
|
||||||
local render = require('ufo.render')
|
local render = require('ufo.render')
|
||||||
|
@ -105,7 +105,7 @@ local function onEnd(name, tick)
|
||||||
getFoldVirtText = function(l)
|
getFoldVirtText = function(l)
|
||||||
assert(type(l) == 'number', 'expected a number, got ' .. type(l))
|
assert(type(l) == 'number', 'expected a number, got ' .. type(l))
|
||||||
assert(lnum <= l and l <= endLnum,
|
assert(lnum <= l and l <= endLnum,
|
||||||
('expected lnum range from %d to %d, got %d'):format(lnum, endLnum, l))
|
('expected lnum range from %d to %d, got %d'):format(lnum, endLnum, l))
|
||||||
local line = fb:lines(l)[1]
|
local line = fb:lines(l)[1]
|
||||||
return render.captureVirtText(bufnr, line, l, syntax, nss)
|
return render.captureVirtText(bufnr, line, l, syntax, nss)
|
||||||
end
|
end
|
||||||
|
@ -197,7 +197,7 @@ function Decorator:highlightOpenFold(fb, winid, lnum)
|
||||||
local _, winids = utils.getWinByBuf(fb.bufnr)
|
local _, winids = utils.getWinByBuf(fb.bufnr)
|
||||||
local shared = winids ~= nil
|
local shared = winids ~= nil
|
||||||
render.highlightLinesWithTimeout(shared and winid or fb.bufnr, 'UfoFoldedBg', self.hlNs,
|
render.highlightLinesWithTimeout(shared and winid or fb.bufnr, 'UfoFoldedBg', self.hlNs,
|
||||||
lnum, endLnum, self.openFoldHlTimeout, shared)
|
lnum, endLnum, self.openFoldHlTimeout, shared)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
local api = vim.api
|
local api = vim.api
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
|
|
||||||
local config = require('ufo.config')
|
local config = require('ufo.config')
|
||||||
local promise = require('promise')
|
local promise = require('promise')
|
||||||
local async = require('async')
|
local async = require('async')
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local provider = require('ufo.provider')
|
local provider = require('ufo.provider')
|
||||||
local log = require('ufo.lib.log')
|
local log = require('ufo.lib.log')
|
||||||
local event = require('ufo.lib.event')
|
local event = require('ufo.lib.event')
|
||||||
local manager = require('ufo.fold.manager')
|
local manager = require('ufo.fold.manager')
|
||||||
local disposable = require('ufo.lib.disposable')
|
local disposable = require('ufo.lib.disposable')
|
||||||
|
|
||||||
---@class UfoFold
|
---@class UfoFold
|
||||||
|
@ -226,7 +226,7 @@ function Fold:initialize(ns)
|
||||||
event:on('BufAttach', Fold.attach, self.disposables)
|
event:on('BufAttach', Fold.attach, self.disposables)
|
||||||
event:on('DiffModeChanged', handleDiffMode, self.disposables)
|
event:on('DiffModeChanged', handleDiffMode, self.disposables)
|
||||||
table.insert(self.disposables, manager:initialize(ns, config.provider_selector,
|
table.insert(self.disposables, manager:initialize(ns, config.provider_selector,
|
||||||
config.close_fold_kinds))
|
config.close_fold_kinds))
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
local buffer = require('ufo.model.foldbuffer')
|
local buffer = require('ufo.model.foldbuffer')
|
||||||
local event = require('ufo.lib.event')
|
local event = require('ufo.lib.event')
|
||||||
local disposable = require('ufo.lib.disposable')
|
local disposable = require('ufo.lib.disposable')
|
||||||
local bufmanager = require('ufo.bufmanager')
|
local bufmanager = require('ufo.bufmanager')
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local driver = require('ufo.fold.driver')
|
local driver = require('ufo.fold.driver')
|
||||||
local log = require('ufo.lib.log')
|
local log = require('ufo.lib.log')
|
||||||
|
|
||||||
---@class UfoFoldBufferManager
|
---@class UfoFoldBufferManager
|
||||||
---@field initialized boolean
|
---@field initialized boolean
|
||||||
|
|
|
@ -67,7 +67,7 @@ local function resetSignGroup()
|
||||||
signNames = setmetatable({}, {
|
signNames = setmetatable({}, {
|
||||||
__index = function(tbl, k)
|
__index = function(tbl, k)
|
||||||
assert(fn.sign_define(k, {linehl = k}) == 0,
|
assert(fn.sign_define(k, {linehl = k}) == 0,
|
||||||
'Define sign name ' .. k .. 'failed')
|
'Define sign name ' .. k .. 'failed')
|
||||||
rawset(tbl, k, k)
|
rawset(tbl, k, k)
|
||||||
return k
|
return k
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,8 +15,11 @@ local Debounce = {}
|
||||||
---@param leading? boolean
|
---@param leading? boolean
|
||||||
---@return UfoDebounce
|
---@return UfoDebounce
|
||||||
function Debounce:new(fn, wait, leading)
|
function Debounce:new(fn, wait, leading)
|
||||||
vim.validate({fn = {fn, 'function'}, wait = {wait, 'number'},
|
vim.validate({
|
||||||
leading = {leading, 'boolean', true}})
|
fn = {fn, 'function'},
|
||||||
|
wait = {wait, 'number'},
|
||||||
|
leading = {leading, 'boolean', true}
|
||||||
|
})
|
||||||
local o = setmetatable({}, self)
|
local o = setmetatable({}, self)
|
||||||
o.timer = nil
|
o.timer = nil
|
||||||
o.fn = vim.schedule_wrap(fn)
|
o.fn = vim.schedule_wrap(fn)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local disposable = require('ufo.lib.disposable')
|
local disposable = require('ufo.lib.disposable')
|
||||||
local log = require('ufo.lib.log')
|
local log = require('ufo.lib.log')
|
||||||
|
|
||||||
---@class UfoEvent
|
---@class UfoEvent
|
||||||
local Event = {
|
local Event = {
|
||||||
|
|
|
@ -2,12 +2,12 @@ local M = {}
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
local api = vim.api
|
local api = vim.api
|
||||||
|
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local provider = require('ufo.provider')
|
local provider = require('ufo.provider')
|
||||||
local fold = require('ufo.fold')
|
local fold = require('ufo.fold')
|
||||||
local decorator = require('ufo.decorator')
|
local decorator = require('ufo.decorator')
|
||||||
local highlight = require('ufo.highlight')
|
local highlight = require('ufo.highlight')
|
||||||
local preview = require('ufo.preview')
|
local preview = require('ufo.preview')
|
||||||
local disposable = require('ufo.lib.disposable')
|
local disposable = require('ufo.lib.disposable')
|
||||||
local bufmanager = require('ufo.bufmanager')
|
local bufmanager = require('ufo.bufmanager')
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ function Buffer:attach()
|
||||||
self._changedtick = changedtick
|
self._changedtick = changedtick
|
||||||
self._lines = self:handleLinesChanged(self._lines, firstLine, lastLine, lastLineUpdated)
|
self._lines = self:handleLinesChanged(self._lines, firstLine, lastLine, lastLineUpdated)
|
||||||
event:emit('BufLinesChanged', bufnr, changedtick, firstLine, lastLine,
|
event:emit('BufLinesChanged', bufnr, changedtick, firstLine, lastLine,
|
||||||
lastLineUpdated, byteCount)
|
lastLineUpdated, byteCount)
|
||||||
end,
|
end,
|
||||||
on_changedtick = function(name, bufnr, changedtick)
|
on_changedtick = function(name, bufnr, changedtick)
|
||||||
self._changedtick = changedtick
|
self._changedtick = changedtick
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
local api = vim.api
|
local api = vim.api
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
|
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local buffer = require('ufo.model.buffer')
|
local buffer = require('ufo.model.buffer')
|
||||||
local foldedline = require('ufo.model.foldedline')
|
local foldedline = require('ufo.model.foldedline')
|
||||||
|
|
||||||
---@class UfoFoldBuffer
|
---@class UfoFoldBuffer
|
||||||
|
|
|
@ -29,7 +29,7 @@ local defaultBorder = {
|
||||||
rounded = {'╭', '─', '╮', '│', '╯', '─', '╰', '│'},
|
rounded = {'╭', '─', '╮', '│', '╯', '─', '╰', '│'},
|
||||||
solid = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '},
|
solid = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '},
|
||||||
shadow = {'', '', {' ', 'FloatShadowThrough'}, {' ', 'FloatShadow'},
|
shadow = {'', '', {' ', 'FloatShadowThrough'}, {' ', 'FloatShadow'},
|
||||||
{' ', 'FloatShadow'}, {' ', 'FloatShadow'}, {' ', 'FloatShadowThrough'}, ''},
|
{' ', 'FloatShadow'}, {' ', 'FloatShadow'}, {' ', 'FloatShadowThrough'}, ''},
|
||||||
}
|
}
|
||||||
|
|
||||||
local function borderHasLine(border, index)
|
local function borderHasLine(border, index)
|
||||||
|
|
|
@ -2,18 +2,18 @@ local api = vim.api
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
local fn = vim.fn
|
local fn = vim.fn
|
||||||
|
|
||||||
local promise = require('promise')
|
local promise = require('promise')
|
||||||
local render = require('ufo.render')
|
local render = require('ufo.render')
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local floatwin = require('ufo.preview.floatwin')
|
local floatwin = require('ufo.preview.floatwin')
|
||||||
local scrollbar = require('ufo.preview.scrollbar')
|
local scrollbar = require('ufo.preview.scrollbar')
|
||||||
local winbar = require('ufo.preview.winbar')
|
local winbar = require('ufo.preview.winbar')
|
||||||
local keymap = require('ufo.preview.keymap')
|
local keymap = require('ufo.preview.keymap')
|
||||||
local event = require('ufo.lib.event')
|
local event = require('ufo.lib.event')
|
||||||
local disposable = require('ufo.lib.disposable')
|
local disposable = require('ufo.lib.disposable')
|
||||||
local config = require('ufo.config')
|
local config = require('ufo.config')
|
||||||
local fold = require('ufo.fold')
|
local fold = require('ufo.fold')
|
||||||
local highlight = require('ufo.highlight')
|
local highlight = require('ufo.highlight')
|
||||||
|
|
||||||
---@class UfoPreview
|
---@class UfoPreview
|
||||||
---@field initialized boolean
|
---@field initialized boolean
|
||||||
|
@ -100,17 +100,17 @@ end
|
||||||
|
|
||||||
function Preview:scroll(char, toTopLeft)
|
function Preview:scroll(char, toTopLeft)
|
||||||
if self:winCall(function()
|
if self:winCall(function()
|
||||||
local ctrlTbl = {B = 0x02, D = 0x04, E = 0x05, F = 0x06, U = 0x15, Y = 0x19}
|
local ctrlTbl = {B = 0x02, D = 0x04, E = 0x05, F = 0x06, U = 0x15, Y = 0x19}
|
||||||
cmd(('norm! %c%s'):format(ctrlTbl[char], toTopLeft and 'H_' or ''))
|
cmd(('norm! %c%s'):format(ctrlTbl[char], toTopLeft and 'H_' or ''))
|
||||||
end) then
|
end) then
|
||||||
self:viewChanged()
|
self:viewChanged()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function Preview:jumpView(toBottom)
|
function Preview:jumpView(toBottom)
|
||||||
if self:winCall(function()
|
if self:winCall(function()
|
||||||
cmd(('norm! %s'):format(toBottom and 'GH_' or 'gg'))
|
cmd(('norm! %s'):format(toBottom and 'GH_' or 'gg'))
|
||||||
end) then
|
end) then
|
||||||
self:viewChanged()
|
self:viewChanged()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -120,8 +120,7 @@ function Preview:toggleCursor()
|
||||||
local floatBufnr = floatwin:getBufnr()
|
local floatBufnr = floatwin:getBufnr()
|
||||||
if self.bufnr == bufnr and self.lnum - self.foldedLnum > 0 then
|
if self.bufnr == bufnr and self.lnum - self.foldedLnum > 0 then
|
||||||
self.cursorSignId = fn.sign_place(self.cursorSignId or 0, 'UfoPreview',
|
self.cursorSignId = fn.sign_place(self.cursorSignId or 0, 'UfoPreview',
|
||||||
self.cursorSignName, floatBufnr,
|
self.cursorSignName, floatBufnr, {lnum = self.lnum - self.foldedLnum + 1, priority = 1})
|
||||||
{lnum = self.lnum - self.foldedLnum + 1, priority = 1})
|
|
||||||
elseif self.cursorSignId then
|
elseif self.cursorSignId then
|
||||||
pcall(fn.sign_unplace, 'UfoPreview', {buffer = floatBufnr})
|
pcall(fn.sign_unplace, 'UfoPreview', {buffer = floatBufnr})
|
||||||
self.cursorSignId = nil
|
self.cursorSignId = nil
|
||||||
|
@ -290,8 +289,7 @@ function Preview:peekFoldedLinesUnderCursor(enter, nextLineIncluded)
|
||||||
end)
|
end)
|
||||||
self:toggleCursor()
|
self:toggleCursor()
|
||||||
render.mapHighlightLimitByRange(bufnr, floatwin:getBufnr(),
|
render.mapHighlightLimitByRange(bufnr, floatwin:getBufnr(),
|
||||||
{lnum - 1, 0}, {endLnum - 1, #text[endLnum - lnum + 1]},
|
{lnum - 1, 0}, {endLnum - 1, #text[endLnum - lnum + 1]}, text, self.ns)
|
||||||
text, self.ns)
|
|
||||||
render.mapMatchByLnum(winid, floatwin.winid, lnum, endLnum)
|
render.mapMatchByLnum(winid, floatwin.winid, lnum, endLnum)
|
||||||
vim.wo[floatwin.winid].listchars = vim.wo[winid].listchars
|
vim.wo[floatwin.winid].listchars = vim.wo[winid].listchars
|
||||||
return floatwin.winid
|
return floatwin.winid
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local foldingrange = require('ufo.model.foldingrange')
|
local foldingrange = require('ufo.model.foldingrange')
|
||||||
local bufmanager = require('ufo.bufmanager')
|
local bufmanager = require('ufo.bufmanager')
|
||||||
|
|
||||||
local Indent = {}
|
local Indent = {}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
local uv = vim.loop
|
local uv = vim.loop
|
||||||
|
|
||||||
local promise = require('promise')
|
local promise = require('promise')
|
||||||
local log = require('ufo.lib.log')
|
local log = require('ufo.lib.log')
|
||||||
|
|
||||||
---@class Provider UfoProvider
|
---@class Provider UfoProvider
|
||||||
---@field modulePathPrefix string
|
---@field modulePathPrefix string
|
||||||
|
@ -52,7 +52,7 @@ function Provider:requestFoldingRange(providers, bufnr)
|
||||||
p = p:finally(function()
|
p = p:finally(function()
|
||||||
log.debug(('requestFoldingRange(%s, %d) has elapsed: %dms')
|
log.debug(('requestFoldingRange(%s, %d) has elapsed: %dms')
|
||||||
:format(vim.inspect(providers, {indent = '', newline = ' '}),
|
:format(vim.inspect(providers, {indent = '', newline = ' '}),
|
||||||
bufnr, (uv.hrtime() - s) / 1e6))
|
bufnr, (uv.hrtime() - s) / 1e6))
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
return p
|
return p
|
||||||
|
@ -60,12 +60,12 @@ end
|
||||||
|
|
||||||
function Provider:initialize()
|
function Provider:initialize()
|
||||||
self.modules = setmetatable({}, {
|
self.modules = setmetatable({}, {
|
||||||
__index = function(t, k)
|
__index = function(t, k)
|
||||||
local ok, res = pcall(require, self.modulePathPrefix .. k)
|
local ok, res = pcall(require, self.modulePathPrefix .. k)
|
||||||
assert(ok, ([[Can't find a module in `%s%s`]]):format(self.modulePathPrefix, k))
|
assert(ok, ([[Can't find a module in `%s%s`]]):format(self.modulePathPrefix, k))
|
||||||
rawset(t, k, res)
|
rawset(t, k, res)
|
||||||
return res
|
return res
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
local uv = vim.loop
|
local uv = vim.loop
|
||||||
|
|
||||||
local promise = require('promise')
|
local promise = require('promise')
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local log = require('ufo.lib.log')
|
local log = require('ufo.lib.log')
|
||||||
local bufmanager = require('ufo.bufmanager')
|
local bufmanager = require('ufo.bufmanager')
|
||||||
|
|
||||||
---@class UfoLSPProviderContext
|
---@class UfoLSPProviderContext
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
local util = require('vim.lsp.util')
|
local util = require('vim.lsp.util')
|
||||||
local promise = require('promise')
|
local promise = require('promise')
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
local async = require('async')
|
local async = require('async')
|
||||||
local log = require('ufo.lib.log')
|
local log = require('ufo.lib.log')
|
||||||
local foldingrange = require('ufo.model.foldingrange')
|
local foldingrange = require('ufo.model.foldingrange')
|
||||||
|
|
||||||
---@class UfoLspNvimClient
|
---@class UfoLspNvimClient
|
||||||
|
@ -75,17 +75,17 @@ function NvimClient.requestFoldingRange(bufnr, kind)
|
||||||
error('UfoFallbackException')
|
error('UfoFallbackException')
|
||||||
end
|
end
|
||||||
local params = {textDocument = util.make_text_document_params(bufnr)}
|
local params = {textDocument = util.make_text_document_params(bufnr)}
|
||||||
return NvimClient.request(client, 'textDocument/foldingRange',
|
return NvimClient.request(client, 'textDocument/foldingRange', params, bufnr)
|
||||||
params, bufnr):thenCall(function(ranges)
|
:thenCall(function(ranges)
|
||||||
if not ranges then
|
if not ranges then
|
||||||
return {}
|
return {}
|
||||||
end
|
end
|
||||||
ranges = vim.tbl_filter(function(o)
|
ranges = vim.tbl_filter(function(o)
|
||||||
return (not kind or kind == o.kind) and o.startLine < o.endLine
|
return (not kind or kind == o.kind) and o.startLine < o.endLine
|
||||||
end, ranges)
|
end, ranges)
|
||||||
foldingrange.sortRanges(ranges)
|
foldingrange.sortRanges(ranges)
|
||||||
return ranges
|
return ranges
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
local api = vim.api
|
local api = vim.api
|
||||||
local fn = vim.fn
|
local fn = vim.fn
|
||||||
|
|
||||||
local highlight = require('ufo.highlight')
|
local highlight = require('ufo.highlight')
|
||||||
local extmark = require('ufo.render.extmark')
|
local extmark = require('ufo.render.extmark')
|
||||||
local treesitter = require('ufo.render.treesitter')
|
local treesitter = require('ufo.render.treesitter')
|
||||||
local match = require('ufo.render.match')
|
local match = require('ufo.render.match')
|
||||||
local utils = require('ufo.utils')
|
local utils = require('ufo.utils')
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -197,7 +197,7 @@ end
|
||||||
function M.getWinInfo(winid)
|
function M.getWinInfo(winid)
|
||||||
local winfos = fn.getwininfo(winid)
|
local winfos = fn.getwininfo(winid)
|
||||||
assert(type(winfos) == 'table' and #winfos == 1,
|
assert(type(winfos) == 'table' and #winfos == 1,
|
||||||
'`getwininfo` expected 1 table with single element.')
|
'`getwininfo` expected 1 table with single element.')
|
||||||
return winfos[1]
|
return winfos[1]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue