-
-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add type annotations and resolve LSP warnings (#2555)
* chore: add type annotations to (almost) all functions * stylua * Add classes for symlink nodes * Replace deprecated `@vararg` * Move node classes to `node` module * Fix `Symlink*` classes * add vim and libuv runtime for luals, qualify libuv types * add scripts/luals-check, not quite ready for CI * additional nil checks for git/init.lua and git/runner.lua * additional nil checks for nvim-tree.lua * wrap vim.cmd-as-a-function calls inside functions * vim.tbl_filter predicate returns booleans * Revert "add scripts/luals-check, not quite ready for CI" This reverts commit c70229c. * Add `MinimalNode` class in `marks` module * Fix various LSP warnings * stylua * Fix `Explorer` class, update related annotations and add necessary checks * Add missing annotations to `live-filter` * Add temporary aliases for `uv.*` types * Resolve remaining LSP warnings * Revert changes not related to internal types * Minor adjustments * Update doc comments style * Minor adjustments (pt. 2) --------- Co-authored-by: Alexander Courtis <[email protected]>
- Loading branch information
1 parent
7d1760f
commit 13f967f
Showing
51 changed files
with
623 additions
and
162 deletions.
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.