~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to clint.py

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20160418214219-1e6d4o1fwqarzk46
Tags: 0.1.3-1
* New upstream release.  (Closes: #820562)
* debian/control:
  + Remove unnecessary luarocks Build-Depends
  + Add libkvm-dev Build-Depends for kfreebsd-*
  + Add python(3)-neovim to Recommends.  (Closes: #812737)
  + Declare compiance with policy 3.9.8, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2552
2552
 
2553
2553
    # If should always have a brace
2554
2554
    for blockstart in ('if', 'while', 'for'):
2555
 
        if Match(r'\s*{0}[^{{]*$'.format(blockstart), line):
 
2555
        if Match(r'\s*{0}(?!\w)[^{{]*$'.format(blockstart), line):
2556
2556
            pos = line.find(blockstart)
2557
2557
            pos = line.find('(', pos)
2558
2558
            if pos > 0: