From 910d1ed70ea124fa9a4ca7d8e490bcde2135c030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 6 Nov 2016 21:29:40 +0100 Subject: vis: change default status bar indication for Windows style line endings --- vis.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vis.lua') 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 -- cgit v1.2.3