Skip to content

Commit

Permalink
Merge pull request puremourning#572 from maximyurevich/master
Browse files Browse the repository at this point in the history
added relativeFileDirname variable
  • Loading branch information
mergify[bot] authored Apr 6, 2022
2 parents da85133 + a1f5389 commit 6d0e02a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python3/vimspector/debug_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ def splitext( p ):
}

calculus = {
'relativeFileDirname': lambda: os.path.dirname( relpath( current_file,
self._workspace_root ) ),
'relativeFile': lambda: relpath( current_file,
self._workspace_root ),
'fileBasename': lambda: os.path.basename( current_file ),
Expand Down

0 comments on commit 6d0e02a

Please sign in to comment.