aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fold.h
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2015-04-07 19:21:50 +0200
committerEliseo Martínez <eliseomarmol@gmail.com>2015-04-07 19:21:50 +0200
commit6881d9705b78fcd2b30a9352c20ed21907471f1a (patch)
tree7b267cd84e0c5c3356fb6117e0691359da54c3d2 /src/nvim/fold.h
parent5f3eeadd037e111e8ba5b04d39ff69806899ed6c (diff)
parent402c6fd939f088a623c5e2585b8826e7bf51dc53 (diff)
downloadrneovim-6881d9705b78fcd2b30a9352c20ed21907471f1a.tar.gz
rneovim-6881d9705b78fcd2b30a9352c20ed21907471f1a.tar.bz2
rneovim-6881d9705b78fcd2b30a9352c20ed21907471f1a.zip
Merge #2228: Enable -Wconversion. (2)
Reviewed-by: oni-link <knil.ino@gmail.com>
Diffstat (limited to 'src/nvim/fold.h')
-rw-r--r--src/nvim/fold.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/fold.h b/src/nvim/fold.h
index 1cbd7af5da..2ff10c0e91 100644
--- a/src/nvim/fold.h
+++ b/src/nvim/fold.h
@@ -1,14 +1,16 @@
#ifndef NVIM_FOLD_H
#define NVIM_FOLD_H
+#include "nvim/pos.h"
+
/*
* 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
other fields are invalid */
- int fi_lnum; /* line number where fold starts */
int fi_low_level; /* lowest fold level that starts in the same
line */
} foldinfo_T;