fix #8 ; keep track of source file; display in standard sublime format file:line:col
This commit is contained in:
parent
c9b57c567c
commit
7dd8fff8a7
3 changed files with 6 additions and 1 deletions
|
|
@ -63,6 +63,8 @@ proc process(path: string) =
|
|||
defer:
|
||||
parser.tsParserDelete()
|
||||
|
||||
gStateRT.sourceFile = path
|
||||
|
||||
if gStateRT.mode.len == 0:
|
||||
gStateRT.mode = modeDefault
|
||||
elif ext in [".h", ".c"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue