aboutsummaryrefslogtreecommitdiff
path: root/vis.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vis.lua')
-rw-r--r--vis.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis.lua b/vis.lua
index 528f7b5..df7b485 100644
--- a/vis.lua
+++ b/vis.lua
@@ -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