diff options
author | James McCoy <jamessan@jamessan.com> | 2016-12-02 20:29:00 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-12-02 20:30:08 -0500 |
commit | d9dffeb4868c2c036663faa142f1ed7b1d51400a (patch) | |
tree | 2d9e9a58595ede63af66b29c20c578850187ac5a | |
parent | a4f646dde87157f9aba8ca8e4bf4c87ad5366203 (diff) | |
download | rneovim-d9dffeb4868c2c036663faa142f1ed7b1d51400a.tar.gz rneovim-d9dffeb4868c2c036663faa142f1ed7b1d51400a.tar.bz2 rneovim-d9dffeb4868c2c036663faa142f1ed7b1d51400a.zip |
lint
-rw-r--r-- | src/nvim/normal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index a85c350e7b..312777d3b9 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -3646,10 +3646,11 @@ nv_gd ( size_t len; char_u *ptr; if ((len = find_ident_under_cursor(&ptr, FIND_IDENT)) == 0 - || !find_decl(ptr, len, nchar == 'd', thisblock, SEARCH_START)) + || !find_decl(ptr, len, nchar == 'd', thisblock, SEARCH_START)) { clearopbeep(oap); - else if ((fdo_flags & FDO_SEARCH) && KeyTyped && oap->op_type == OP_NOP) + } else if ((fdo_flags & FDO_SEARCH) && KeyTyped && oap->op_type == OP_NOP) { foldOpenCursor(); + } } /* |