diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-06 21:29:40 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-10 22:35:41 +0100 |
| commit | 910d1ed70ea124fa9a4ca7d8e490bcde2135c030 (patch) | |
| tree | f9b62d00ddf2828a2dd08b4c93e5618d3502e14a /vis.lua | |
| parent | 835cef65fdc886bcda74a1b66649a78aa8f00d3c (diff) | |
| download | vis-910d1ed70ea124fa9a4ca7d8e490bcde2135c030.tar.gz vis-910d1ed70ea124fa9a4ca7d8e490bcde2135c030.tar.xz | |
vis: change default status bar indication for Windows style line endings
Diffstat (limited to 'vis.lua')
| -rw-r--r-- | vis.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -393,8 +393,8 @@ vis.events.win_status = function(win) table.insert(left_parts, (file.name or '[No Name]') .. (file.modified and ' [+]' or '') .. (vis.recording and ' @' or '')) - if file.newlines ~= "lf" then - table.insert(right_parts, "␊") + if file.newlines == "crlf" then + table.insert(right_parts, "␍␊") end if #win.cursors > 1 then |
