diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-04-08 22:11:57 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-04-09 11:28:06 +0200 |
| commit | 4f15fee811d2645bf810a475d4272f83c30608d6 (patch) | |
| tree | e61902723c42378b78b43e42bf55f37ec216d702 /lua | |
| parent | 6a6bc5bb4c1b5be36b342266d0f74ec4a2843b00 (diff) | |
| download | vis-4f15fee811d2645bf810a475d4272f83c30608d6.tar.gz vis-4f15fee811d2645bf810a475d4272f83c30608d6.tar.xz | |
vis: remove handling of \r\n line endings
Use something like dos2unix(1) and unix2dos(1), if you
need to edit such files.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/vis-std.lua | 4 |
1 files changed, 0 insertions, 4 deletions
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 |
