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. --- vis.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 9b9fbb9..5b49a15 100644 --- a/vis.h +++ b/vis.h @@ -156,8 +156,7 @@ void vis_replace_key(Vis*, const char *data, size_t len); /* inserts a tab (peforms tab expansion based on current editing settings), * at all current cursor positions */ void vis_insert_tab(Vis*); -/* inserts a new line sequence (depending on the file type this might be \n or - * \r\n) at all current cursor positions */ +/* inserts a \n character at every cursor position */ void vis_insert_nl(Vis*); /* processes the given command line arguments and starts the main loop, won't -- cgit v1.2.3