forked from VimPlug/jedi
CRLF should be also treated as blank line
This commit is contained in:
@@ -237,7 +237,7 @@ class FastParser(use_metaclass(CachedFastParser)):
|
||||
# check for dedents
|
||||
s = l.lstrip('\t ')
|
||||
indent = len(l) - len(s)
|
||||
if not s or s[0] == '#':
|
||||
if not s or s[0] in ('#', '\r'):
|
||||
current_lines.append(l) # just ignore comments and blank lines
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user