aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2014-08-16 12:58:11 -0400
committerFelipe Morales <hel.sheep@gmail.com>2014-08-20 05:19:57 -0400
commitdfdfee0260a95eb020d0b9cea2273b1f5002c184 (patch)
treef6f09ed12f8ac2512acb55dcc55659eae20e29f1 /src/nvim/option.c
parent22c782bcb24aa191163ebf80de5a75acaba823b3 (diff)
downloadrneovim-dfdfee0260a95eb020d0b9cea2273b1f5002c184.tar.gz
rneovim-dfdfee0260a95eb020d0b9cea2273b1f5002c184.tar.bz2
rneovim-dfdfee0260a95eb020d0b9cea2273b1f5002c184.zip
vim-patch: 7.4.353
Make 'breakindent' work with the 'list' option. Originally patched in vim patch 7.4.353, by chrisbra (https://code.google.com/p/vim/source/detail?r=d42a1d3b74d40f580359dbd139d2d0dfa7235252) Updated version.c.
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 7d40fb3d6b..a878ba6455 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -8157,9 +8157,10 @@ void find_mps_values(int *initc, int *findc, int *backwards, int switchit)
}
}
-/* This is called when 'breakindentopt' is changed and whenn a window is
+/* This is called when 'breakindentopt' is changed and when a window is
initialized */
-int briopt_check() {
+int briopt_check(void)
+{
char_u *p;
int bri_shift = 0;
long bri_min = 20;