Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline implemented #428

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

yaroslavyaroslav
Copy link

outline.scm file added.

It handles declarations of

  • protocol,
  • actor,
  • class,
  • struct,
  • enum
  • extension
  • func (both global and methods)
  • type properties

In sake of performance and simplicity it captures the whole line from whatever keyword till *_body.

Verbosity in functions and types symbols made by purpose, in sake of simplicity and performance (every time i tried to make capture more precise in function especially ended up 60 sec warmup of zed on those grammars.

@alex-pinkus
Copy link
Owner

Thank you — very thorough!

@alex-pinkus alex-pinkus merged commit 261d880 into alex-pinkus:main Aug 23, 2024
55 checks passed
@yaroslavyaroslav yaroslavyaroslav deleted the outline branch August 23, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants