-
-
Notifications
You must be signed in to change notification settings - Fork 626
chore: use builtin EmmyLuaCodeStyle for style checking #3084
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5bc23f3
chore: sync EmmyLuaCodeStyle settings between .editorconfig and .luar…
alex-courtis 3a27e36
chore: lua-language-server 3.11.0 -> 3.13.9
alex-courtis bb46ca0
chore: fix incorrect definition of vim.loop.fs_lstat
alex-courtis e02ba60
chore: add codestyle-check option to luals-check.sh
alex-courtis df044f7
chore: use luals for style check
alex-courtis e5fde80
chore: use luals for style check
alex-courtis 9d93eb6
Revert "chore: use luals for style check"
alex-courtis 079e6b9
chore: use luals for style check
alex-courtis b25f852
chore: use luals for style check
alex-courtis 49f77c9
chore: use luals for style check
alex-courtis b4fd80d
chore: use luals for style check
alex-courtis 93475cd
chore: use luals for style check
alex-courtis c83f971
chore: use luals for style check
alex-courtis 9840634
chore: use luals for style check
alex-courtis f7e8f65
chore: use luals for style check
alex-courtis 30615dd
chore: use luals for style check
alex-courtis a8c5276
chore: use luals for style check
alex-courtis fda709c
chore: use luals for style check
alex-courtis 2c12c89
chore: use luals for style check
alex-courtis 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,8 +214,9 @@ function Explorer:reload(node, project) | |
end | ||
|
||
local abs = utils.path_join({ cwd, name }) | ||
---@type uv.fs_stat.result|nil | ||
local stat = vim.loop.fs_lstat(abs) | ||
|
||
-- path incorrectly specified as an integer | ||
local stat = vim.loop.fs_lstat(abs) ---@diagnostic disable-line param-type-mismatch | ||
|
||
local filter_reason = self.filters:should_filter_as_reason(abs, stat, filter_status) | ||
if filter_reason == FILTER_REASON.none then | ||
|
@@ -373,8 +374,9 @@ function Explorer:populate_children(handle, cwd, node, project, parent) | |
if Watcher.is_fs_event_capable(abs) then | ||
local profile = log.profile_start("populate_children %s", abs) | ||
|
||
---@type uv.fs_stat.result|nil | ||
local stat = vim.loop.fs_lstat(abs) | ||
-- path incorrectly specified as an integer | ||
local stat = vim.loop.fs_lstat(abs) ---@diagnostic disable-line param-type-mismatch | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. result of lua-language-server upgrade |
||
local filter_reason = parent.filters:should_filter_as_reason(abs, stat, filter_status) | ||
if filter_reason == FILTER_REASON.none and not nodes_by_path[abs] then | ||
local child = node_factory.create({ | ||
|
This file contains hidden or 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.
Uses a better jq solution in script.