Skip to content

Commit

Permalink
Fix resolving project root when using \subimport (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfoerster authored Jul 6, 2024
1 parent 88d9693 commit d7c1717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix parsing commands with unicode characters inside BibTeX entries
([#1147](https://github.com/latex-lsp/texlab/issues/1147))
- Improve detection of included files when non-ASCII characters are used ([#923](https://github.com/latex-lsp/texlab/issues/923))
- Fix resolving includes starting from files included using `\subimport` ([#1145](https://github.com/latex-lsp/texlab/issues/1145))

## [5.17.0] - 2024-06-23

Expand Down
2 changes: 1 addition & 1 deletion crates/base-db/src/deps/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl Graph {
.base_dir
.as_deref()
.and_then(|path| start.root.src_dir.join(path).ok())
.map(|dir| ProjectRoot::walk_and_find(workspace, &dir));
.map(|dir| ProjectRoot::from_config(workspace, &dir));

let link_data = DirectLinkData {
link: link.clone(),
Expand Down

0 comments on commit d7c1717

Please sign in to comment.