Mercurial > vim
comparison src/cindent.c @ 18757:c469e1930456 v8.1.2368
patch 8.1.2368: using old C style comments
Commit: https://github.com/vim/vim/commit/c667da5185ce5dce914d2006d62da2be0cedb384
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 20:52:27 2019 +0100
patch 8.1.2368: 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 21:00:04 +0100 |
parents | 9e6d5a4abb1c |
children | 9f4648953f1a |
comparison
equal
deleted
inserted
replaced
18756:c58a9ff2b806 | 18757:c469e1930456 |
---|---|
1626 * Find the '{' at the start of the block we are in. | 1626 * Find the '{' at the start of the block we are in. |
1627 * Return NULL if no match found. | 1627 * Return NULL if no match found. |
1628 * Ignore a '{' that is in a comment, makes indenting the next three lines | 1628 * Ignore a '{' that is in a comment, makes indenting the next three lines |
1629 * work. | 1629 * work. |
1630 */ | 1630 */ |
1631 /* foo() */ | 1631 // foo() |
1632 /* { */ | 1632 // { |
1633 /* } */ | 1633 // } |
1634 | 1634 |
1635 static pos_T * | 1635 static pos_T * |
1636 find_start_brace(void) // XXX | 1636 find_start_brace(void) // XXX |
1637 { | 1637 { |
1638 pos_T cursor_save; | 1638 pos_T cursor_save; |