diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-15 16:11:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-15 16:11:30 +0800 |
commit | 8880b7d63931469c0b7bfb69004f342236ce2811 (patch) | |
tree | b9577858f20755d593ecf08dad5e2cd5e46559db /test/example | |
parent | 6fddbbf0b34729327670ac1687d88b38739e12a9 (diff) | |
download | lua-language-server-8880b7d63931469c0b7bfb69004f342236ce2811.zip |
cleanup
Diffstat (limited to 'test/example')
-rw-r--r-- | test/example/guide.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/example/guide.txt b/test/example/guide.txt index da8d5c32..cff05faf 100644 --- a/test/example/guide.txt +++ b/test/example/guide.txt @@ -586,7 +586,7 @@ end ---@param lines table ---@return integer {name = 'row'} ---@return integer {name = 'col'} -function m.positionOf(lines, offset) +function m.rowColOf(lines, offset) if offset < 1 then return 0, 0 end @@ -619,7 +619,7 @@ end ---@param row integer ---@param col integer ---@return integer {name = 'offset'} -function m.offsetOf(lines, row, col) +function m.positionOf(lines, row, col) if row < 1 then return 0 end |