Skip to content

Commit

Permalink
Fix wq!
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardroche committed Mar 29, 2018
1 parent 143a237 commit 0231212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nv/ex/cmd_wq.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def scan_cmd_wq(state):
raise NotImplementedError('param not implemented')

if c == state.EOF:
return None, [TokenCommandWq(params), TokenEof()]
return None, [TokenCommandWq(params, forced=bang), TokenEof()]

m = state.expect_match(r'.+$')
params['file'] = m.group(0).strip()

return None, [TokenCommandWq(params), TokenEof()]
return None, [TokenCommandWq(params, forced=bang), TokenEof()]

0 comments on commit 0231212

Please sign in to comment.