-
-
Notifications
You must be signed in to change notification settings - Fork 21
feat: go-to-definition, fix bugs, update deps, remove unused files #635
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
base: develop
Are you sure you want to change the base?
Conversation
the project version is incorrect
also remove some likely ai generated comments
also remove systemd on darwin. this works on my apple sillicon macbook
chore: fix cargo lock
…pport-relative-path feat: support relative path in journal_root
chore: include LICENSE in the packaged crate
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
} | ||
|
||
#[test] | ||
fn handle_account_completion_case_sensitive() { |
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.
I had previously added this test, which is not probably redundant with handle_case_insensitive_completion
.
let node = | ||
lsp_position_to_node(&doc.content, params.text_document_position.position, tree).unwrap(); |
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.
Using this instead of the logic that was previously there because otherwise references wouldn't work with the cursor on the first letter of an account (maybe an off-by-one error).
let url = url::Url::from_str(self.as_str()).map_err(|_| ())?; | ||
tracing::info!("TOFILEPATH {:#?}", url); | ||
tracing::debug!("TOFILEPATH {:#?}", url); |
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.
this was needlessly verbose I think
@@ -8,132 +8,103 @@ | |||
url = "github:oxalica/rust-overlay"; | |||
inputs.nixpkgs.follows = "nixpkgs"; | |||
}; | |||
crane = { | |||
url = "github:ipetkov/crane"; | |||
inputs.nixpkgs.follows = "nixpkgs"; |
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.
input doesn't exist anymore
@@ -150,18 +121,10 @@ | |||
git-cliff | |||
virt-viewer | |||
]; | |||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ |
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.
I don't know why this was set, but it was breaking my nvim setup.
@@ -8,132 +8,103 @@ | |||
url = "github:oxalica/rust-overlay"; | |||
inputs.nixpkgs.follows = "nixpkgs"; | |||
}; | |||
crane = { |
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.
sorry about all the whitespace noise here!
I will look at this as soon as I can |
at quick glance it looks good. I am going to merge and test out when i do my financial updates |
can not merge into development , going to cherry pick into development and and lets create issues/discussions on further improvements |
git history is hard to merge. i prefer rebase to merge commits. I will fix the small issues. put the following features in their own pr and have it merge into main
|
e008224
to
efaabfd
Compare
Sounds good! |
6ef2b68
to
021e143
Compare
97aada2
to
f249e00
Compare
I am opening this PR as draft since there is a big intersection with #634 and it probably does too many things at once.
I have also cherry-picked a couple commits that have since been pushed to develop.I have rebased it on develop so that it should include all changes.If interesting we can split it into multiple PRs; the intent is to kickstart the conversation here.
I am opening it against
develop
and leaving review comments inline to explain the rationale behind the changes.For context, I have been using this project for a while, thank you for creating it!
This PR:
nvim
to cope when editing a big Beancount file).handle_
, others did not).I have tested my changes against
nvim
. I might have obviously missed things, but have tried to add a few tests to increase confidence.