lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

Lua folding incorrect scenario

Open urnati opened this issue 1 year ago • 0 comments

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Other

Expected Behaviour

Lua code proper folding

--[[ API --]] function TitanUtils_GetRealPosition(id) -- Used by me end

Actual Behaviour

--[[ API -- Even better coding return 1 end

Reproduction steps

Use control+k control+1 on code below

Removing the comment at end of function OR adding a line above function folds properly.

Additional Notes

--[[ API

  • My fantastic description here --]] function TitanUtils_GetRealPosition(id) -- Used by me -- Even better coding return 1 end

Log File

No response

urnati avatar Feb 28 '24 17:02 urnati