mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
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:
@@ -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 == ' ') {
|
||||
|
Reference in New Issue
Block a user