diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-08-15 13:53:26 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-08-15 13:53:26 -0400 |
commit | 19207762fd6dccd83b89c96bb1163b0d0440defb (patch) | |
tree | e3722355f655da4bba0db2a0a7fef04b6d204cd1 /src/nvim/indent.c | |
parent | 933602b1882c6596f06125fc621825c357409899 (diff) | |
parent | 9c8da794e114c3cd5cafe1edac9a8711506a7ba5 (diff) | |
download | rneovim-19207762fd6dccd83b89c96bb1163b0d0440defb.tar.gz rneovim-19207762fd6dccd83b89c96bb1163b0d0440defb.tar.bz2 rneovim-19207762fd6dccd83b89c96bb1163b0d0440defb.zip |
Merge pull request #1068 from atwupack/vp-7.4.201
vim-patch:7.4.201
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index ebc5955bae..d4c6b36177 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -690,7 +690,7 @@ static int lisp_match(char_u *p) { char_u buf[LSIZE]; int len; - char_u *word = p_lispwords; + char_u *word = *curbuf->b_p_lw != NUL ? curbuf->b_p_lw : p_lispwords; while (*word != NUL) { (void)copy_option_part(&word, buf, LSIZE, ","); |