mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
refactor: pos_T macros to functions (#6496)
This commit is contained in:

committed by
Justin M. Keyes

parent
1b94852ccb
commit
2d72d85b23
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user