Skip to content

Commit

Permalink
Add Nim version number to --version
Browse files Browse the repository at this point in the history
  • Loading branch information
PMunch committed Sep 19, 2023
1 parent 206eae2 commit 6a63c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimlsp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if paramCount() == 1:
echo "PATH, path to the Nim source directory, defaults to \"", nimpath, "\""
quit 0
of "--version":
echo "nimlsp v", version
echo "nimlsp v", version, " built for Nim version ", NimVersion
when defined(debugLogging): echo "Compiled with debug logging"
when defined(debugCommunication): echo "Compiled with communication logging"
quit 0
Expand Down

0 comments on commit 6a63c0a

Please sign in to comment.