aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-05-01 17:30:38 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-05-01 17:30:38 -0400
commitd542de4a76dd9e600ebcf1405efdc9d3090ad9a8 (patch)
tree60b1d2aad6205c74b7c2611fbbed45759a302f4f /src/nvim/ex_getln.c
parent91afb30b667bbc321d351708f694d00b256be585 (diff)
parentcf4e1fb0f4962319eee292248d9c1f73be3a8d0c (diff)
downloadrneovim-d542de4a76dd9e600ebcf1405efdc9d3090ad9a8.tar.gz
rneovim-d542de4a76dd9e600ebcf1405efdc9d3090ad9a8.tar.bz2
rneovim-d542de4a76dd9e600ebcf1405efdc9d3090ad9a8.zip
Merge pull request #4688 from ZyX-I/clint-checks
Add check for boolean operators placement
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 5537cb70a4..7d911ee93e 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -624,8 +624,8 @@ static int command_line_execute(VimState *state, int key)
// CTRL-\ e doesn't work when obtaining an expression, unless it
// is in a mapping.
if (s->c != Ctrl_N && s->c != Ctrl_G && (s->c != 'e'
- || (ccline.cmdfirstc == '=' &&
- KeyTyped))) {
+ || (ccline.cmdfirstc == '='
+ && KeyTyped))) {
vungetc(s->c);
s->c = Ctrl_BSL;
} else if (s->c == 'e') {