From 4f15fee811d2645bf810a475d4272f83c30608d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 8 Apr 2017 22:11:57 +0200 Subject: vis: remove handling of \r\n line endings Use something like dos2unix(1) and unix2dos(1), if you need to edit such files. --- lua/vis-std.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lua') diff --git a/lua/vis-std.lua b/lua/vis-std.lua index 01d137a..e762d86 100644 --- a/lua/vis-std.lua +++ b/lua/vis-std.lua @@ -91,10 +91,6 @@ vis.events.subscribe(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 == "crlf" then - table.insert(right_parts, "␍␊") - end - if #win.cursors > 1 then table.insert(right_parts, cursor.number..'/'..#win.cursors) end -- cgit v1.2.3