Mercurial > vim
diff src/globals.h @ 18753:6e3dc2d630c2 v8.1.2366
patch 8.1.2366: using old C style comments
Commit: https://github.com/vim/vim/commit/9bf703d46a79fbffeb829246ea5ce385bddc4166
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 19:44:38 2019 +0100
patch 8.1.2366: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 19:45:03 +0100 |
parents | fd95d4dbeb37 |
children | 49b78d6465e5 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -853,9 +853,9 @@ EXTERN pos_T saved_cursor // w_cursor b EXTERN pos_T Insstart; // This is where the latest // insert/append mode started. -/* This is where the latest insert/append mode started. In contrast to - * Insstart, this won't be reset by certain keys and is needed for - * op_insert(), to detect correctly where inserting by the user started. */ +// This is where the latest insert/append mode started. In contrast to +// Insstart, this won't be reset by certain keys and is needed for +// op_insert(), to detect correctly where inserting by the user started. EXTERN pos_T Insstart_orig; /* @@ -865,7 +865,7 @@ EXTERN int orig_line_count INIT(= 0); / EXTERN int vr_lines_changed INIT(= 0); // #Lines changed by "gR" so far #if defined(FEAT_X11) && defined(FEAT_XCLIPBOARD) -/* argument to SETJMP() for handling X IO errors */ +// argument to SETJMP() for handling X IO errors EXTERN JMP_BUF x_jump_env; #endif @@ -1404,7 +1404,7 @@ EXTERN int term_is_xterm INIT(= FALSE); #ifdef BACKSLASH_IN_FILENAME EXTERN char psepc INIT(= '\\'); // normal path separator character EXTERN char psepcN INIT(= '/'); // abnormal path separator character -/* normal path separator string */ +// normal path separator string EXTERN char pseps[2] INIT(= {'\\' COMMA 0}); #endif