Skip to content

Commit

Permalink
fix(roots): fix problem of projects path match
Browse files Browse the repository at this point in the history
  • Loading branch information
yehuohan committed Mar 26, 2018
1 parent a2996ec commit 6899b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ctrlspace/roots.vim
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function! ctrlspace#roots#FindProjectRoot()

if !empty(s:config.ProjectRootMarkers)
let rootFound = 0
let candidate = fnamemodify(projectRoot, ":p:h")
let candidate = ctrlspace#util#UseSlashDir(fnamemodify(projectRoot, ":p:h"))
let lastCandidate = ""

while candidate != lastCandidate
Expand Down

0 comments on commit 6899b1d

Please sign in to comment.