diff options
author | Florian Walch <florian@fwalch.com> | 2014-12-18 15:35:13 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2014-12-18 15:41:27 +0100 |
commit | c780075afad41fd4de30212845becdca83c4dd7c (patch) | |
tree | 1265077e1cfb6c3bb798be95d5b2319e72a0c81f /src/nvim/indent.c | |
parent | 1eef5303514a8499fd376270bd89a40e2d3eafbb (diff) | |
download | rneovim-c780075afad41fd4de30212845becdca83c4dd7c.tar.gz rneovim-c780075afad41fd4de30212845becdca83c4dd7c.tar.bz2 rneovim-c780075afad41fd4de30212845becdca83c4dd7c.zip |
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
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index 7090e007bf..075acc6c13 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -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 == ' ') { |