diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-05-05 15:12:50 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-05-05 15:12:50 +0300 |
commit | f52ea04d229b5cdf70a352efd93e0e01fa8faadf (patch) | |
tree | c636ed75f8f00380397c47ac571275ac3215c2a9 /compiler/service.nim | |
parent | 5a2720e99075166d2192fd40927f695f58124028 (diff) | |
download | Nim-f52ea04d229b5cdf70a352efd93e0e01fa8faadf.tar.gz |
support suggest after compile in caas mode
Diffstat (limited to 'compiler/service.nim')
-rw-r--r-- | compiler/service.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/service.nim b/compiler/service.nim index b3c7fbc83..6a0cfd292 100644 --- a/compiler/service.nim +++ b/compiler/service.nim @@ -65,7 +65,9 @@ proc serve*(action: proc (){.nimcall.}) = curCaasCmd = cmd processCmdLine(passCmd2, cmd) action() - + gDirtyBufferIdx = 0 + gDirtyOriginalIdx = 0 + let typ = getConfigVar("server.type") case typ of "stdin": |