aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fold.h
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-09-02 17:39:49 +0100
committerGitHub <noreply@github.com>2022-09-02 17:39:49 +0100
commit1ffd527c837fb2465c9659273bbe5447a1352db2 (patch)
tree2d6a88147b4c91a4cfbf13fc8ab98d3f7567ebec /src/nvim/fold.h
parent69456f3414f112853eea1b3214a929d99da556d9 (diff)
downloadrneovim-1ffd527c837fb2465c9659273bbe5447a1352db2.tar.gz
rneovim-1ffd527c837fb2465c9659273bbe5447a1352db2.tar.bz2
rneovim-1ffd527c837fb2465c9659273bbe5447a1352db2.zip
refactor: migrate comment style (#20012)
Done automatically using the following perl command: perl -pi -0777pe 's#\n\K */\*\n(.+?)\s*\*/\n#join("\n", map { $_ =~ s:^\s*\K \*://:; $_ } split("\n", $1)) . "\n"#sge' src/nvim/**/*.c Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/fold.h')
-rw-r--r--src/nvim/fold.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/fold.h b/src/nvim/fold.h
index f34e6d43c3..395cd8e30a 100644
--- a/src/nvim/fold.h
+++ b/src/nvim/fold.h
@@ -8,10 +8,8 @@
#include "nvim/pos.h"
#include "nvim/types.h"
-/*
- * Info used to pass info about a fold from the fold-detection code to the
- * code that displays the foldcolumn.
- */
+// Info used to pass info about a fold from the fold-detection code to the
+// code that displays the foldcolumn.
typedef struct foldinfo {
linenr_T fi_lnum; // line number where fold starts
int fi_level; // level of the fold; when this is zero the