Added test case for shiftwidth=0 and added myself to contributors list.

This commit is contained in:
Glenn Griffin 2014-10-08 10:30:40 -07:00
parent 482650a009
commit e3abd6678f
2 changed files with 14 additions and 0 deletions

View File

@ -1407,6 +1407,7 @@ individuals have contributed to UltiSnips (in chronological order):
Mathias Fußenegger - mfussenegger
Kevin Ballard - kballard
Ahbong Chang - cwahbong
Glenn Griffin - ggriffiniii
Thank you for your support.

View File

@ -30,4 +30,17 @@ class RetainsTheUnnamedRegister_ButOnlyOnce(_VimTest):
wanted = "\nblah\nhello world "
# End: Github Pull Request # 134 #}}}
# Test to ensure that shiftwidth follows tabstop when it's set to zero post
# version 7.3.693. Prior to that version a shiftwidth of zero effectively
# removes tabs.
class ShiftWidthZero(_VimTest):
def _extra_options_pre_init(self, vim_config):
vim_config += [
"if exists('*shiftwidth')",
" set shiftwidth=0",
"endif",
]
snippets = ("test", "\t${1}${0}")
keys = "test" + EX + "foo"
wanted = "\tfoo"