mirror of
https://github.com/dlang-community/DCD.git
synced 2025-04-25 21:00:02 +03:00
support inlay hints inside functions
remake of #759 Co-authored-by: ryuukk <ryuukk.dev@gmail.com>
This commit is contained in:
parent
b79982d509
commit
2bb03265cc
2 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,7 @@ class AutocompleteParser : Parser
|
|||
{
|
||||
if (!currentIs(tok!"{"))
|
||||
return null;
|
||||
if (cursorPosition == -1) return super.parseBlockStatement();
|
||||
if (current.index > cursorPosition)
|
||||
{
|
||||
BlockStatement bs = allocator.make!(BlockStatement);
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
l ->Point 208
|
||||
l ->Point 247
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue