Updated vim plugins
This commit is contained in:
1 parent
61a22e9f3e
commit
f8d1d3bb50
27 files changed
+264
-208
No files matched your search
@@ -5,7 +5,9 @@ global !p
|
||||
def ada_case(word):
|
||||
out = word[0].upper()
|
||||
for i in range(1, len(word)):
|
||||
if word[i - 1] == '_':
|
||||
if word[i] == '-':
|
||||
out = out + '.'
|
||||
elif word[i - 1] == '_' or word[i - 1] == '-':
|
||||
out = out + word[i].upper()
|
||||
else:
|
||||
out = out + word[i]
|
||||
|
||||
Reference in new issue
Block a user