Better handling of tab characters using strdisplaywidth

This commit is contained in:
Junegunn Choi
2014-04-11 10:39:39 +09:00
parent d041e17bba
commit ba54df53ca
2 changed files with 24 additions and 2 deletions

View File

@@ -117,4 +117,26 @@ Expect:
n2gv = {}
n2vt = {}
Given (Tab-indented code (#20)):
class MyUnitTest(unittest.TestCase):
def test_base(self):
# n2f= {}
## n2v= {}
# f2v = {}
## n2gv = {}
# n2vt = {}
Execute:
set tabstop=12
%EasyAlign=
Expect:
class MyUnitTest(unittest.TestCase):
def test_base(self):
# n2f = {}
## n2v = {}
# f2v = {}
## n2gv = {}
# n2vt = {}
Include: include/teardown.vader