diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2017-04-11 22:44:48 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-11 22:44:48 +0200 |
commit | 2d72d85b23761383ac7838faed2f7b53bdce8817 (patch) | |
tree | 5c4cfe225180ae19b9e6ce3e12f66b810ca23730 /src/nvim/indent.c | |
parent | 1b94852ccbd07c2475621651bbd02970d30dbc3b (diff) | |
download | rneovim-2d72d85b23761383ac7838faed2f7b53bdce8817.tar.gz rneovim-2d72d85b23761383ac7838faed2f7b53bdce8817.tar.bz2 rneovim-2d72d85b23761383ac7838faed2f7b53bdce8817.zip |
refactor: pos_T macros to functions (#6496)
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index 7f31bb8c5c..8fbad38495 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -7,6 +7,7 @@ #include "nvim/eval.h" #include "nvim/charset.h" #include "nvim/cursor.h" +#include "nvim/mark.h" #include "nvim/memline.h" #include "nvim/memory.h" #include "nvim/misc1.h" @@ -598,7 +599,7 @@ int get_lisp_indent(void) paren = *pos; pos = findmatch(NULL, '['); - if ((pos == NULL) || ltp(pos, &paren)) { + if ((pos == NULL) || lt(*pos, paren)) { pos = &paren; } } |