We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b378fd4 commit 4941c61Copy full SHA for 4941c61
py/vimlfunc.py
@@ -7,7 +7,7 @@
7
8
9
def main():
10
- use_neovim = sys.argv[1] == '--neovim'
+ use_neovim = sys.argv[1] == "--neovim"
11
12
r = StringReader(viml_readfile(sys.argv[-1]))
13
p = VimLParser(use_neovim)
@@ -123,7 +123,7 @@ def viml_eqregq(s, reg):
123
124
125
def viml_escape(s, chars):
126
- r = ''
+ r = ""
127
for c in s:
128
if c in chars:
129
r += "\\" + c
@@ -153,7 +153,7 @@ def viml_len(obj):
153
if sys.version_info < (3, 0):
154
b = bytes(obj)
155
else:
156
- b = bytes(obj, 'utf8')
+ b = bytes(obj, "utf8")
157
return len(b)
158
return len(obj)
159
0 commit comments