aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nim
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2025-02-19 15:58:03 +0100
committerChristian Stenger <[email protected]>2025-02-21 10:38:54 +0000
commit2769353e54fcd66e1f75244bc933a6a0cde2179f (patch)
tree12613006597a9ac0fe3637683f1fec617e5d4dfb /src/plugins/nim
parentf1f1ebcb9d9e482ce6a8913a78b0d3d1d2d90efe (diff)
Nim: Fix reparse trigger
It can happen that the path is typed differently, but due to case-insensitive file systems still accessible with the different spelling. But this breaks the safety net for not triggering the reparse again and again. Change-Id: I5ef833032ec521ec93bf166c95a1a5f9cf90a14c Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r--src/plugins/nim/project/nimbleproject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nim/project/nimbleproject.cpp b/src/plugins/nim/project/nimbleproject.cpp
index eac21c26a44..8b6dd9b1173 100644
--- a/src/plugins/nim/project/nimbleproject.cpp
+++ b/src/plugins/nim/project/nimbleproject.cpp
@@ -136,7 +136,7 @@ NimbleBuildSystem::NimbleBuildSystem(BuildConfiguration *bc)
// Workaround for nimble creating temporary files in project root directory
// when querying the list of tasks.
// See https://github.com/nim-lang/nimble/issues/720
- if (directory != projectDirectory().toUrlishString())
+ if (FilePath::fromString(directory) != projectDirectory())
requestDelayedParse();
});