-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
chore: add type annotations and resolve LSP warnings #2555
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fabea33
chore: add type annotations to (almost) all functions
Akmadan23 0b31f06
stylua
Akmadan23 adeec1a
Merge branch 'master' into type-annotations
Akmadan23 76c88de
Add classes for symlink nodes
Akmadan23 2a6aa31
Replace deprecated `@vararg`
Akmadan23 3b66519
Move node classes to `node` module
Akmadan23 3af30ee
Fix `Symlink*` classes
Akmadan23 8393f7c
add vim and libuv runtime for luals, qualify libuv types
alex-courtis c70229c
add scripts/luals-check, not quite ready for CI
alex-courtis b4570bd
additional nil checks for git/init.lua and git/runner.lua
alex-courtis 15f05f8
additional nil checks for nvim-tree.lua
alex-courtis 6988062
wrap vim.cmd-as-a-function calls inside functions
alex-courtis 87d2d4f
vim.tbl_filter predicate returns booleans
alex-courtis e201c5b
Revert "add scripts/luals-check, not quite ready for CI"
alex-courtis 03ceffc
Add `MinimalNode` class in `marks` module
Akmadan23 0fb4f96
Merge branch 'master' into type-annotations
Akmadan23 ee60886
Fix various LSP warnings
Akmadan23 dcd8cb8
Merge branch 'master' into type-annotations
Akmadan23 b4ea048
stylua
Akmadan23 e0cacc9
Fix `Explorer` class, update related annotations and add necessary ch…
Akmadan23 d16f289
Add missing annotations to `live-filter`
Akmadan23 a937cda
Add temporary aliases for `uv.*` types
Akmadan23 ec16b1a
Resolve remaining LSP warnings
Akmadan23 aafccdc
Merge branch 'master' into type-annotations
Akmadan23 d14eb6f
Revert changes not related to internal types
Akmadan23 edc0d63
Minor adjustments
Akmadan23 9ff04a9
Update doc comments style
Akmadan23 7fbc416
Minor adjustments (pt. 2)
Akmadan23 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In some cases I added an explicit nil return instead of returning the call of a function that returns nil.