vim-patch:7.4.423

Problem:    expand("$shell") does not work as documented.
Solution:   Do not escape the $ when expanding environment variables.

https://code.google.com/p/vim/source/detail?r=v7-4-423
This commit is contained in:
Florian Walch
2014-12-18 15:35:13 +01:00
parent 1eef530351
commit c780075afa
5 changed files with 10 additions and 7 deletions

View File

@@ -58,8 +58,8 @@ int get_indent_str(char_u *ptr, int ts, int list)
if (!list || lcs_tab1) { // count a tab for what it is worth
count += ts - (count % ts);
} else {
// in list mode, when tab is not set, count screen char width for Tab:
// ^I
// In list mode, when tab is not set, count screen char width
// for Tab, displays: ^I
count += ptr2cells(ptr);
}
} else if (*ptr == ' ') {