mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
Remove ml_ prefix from cursor.h functions
s/ml_get_curline/get_cursor_line_ptr s/ml_get_cursor/get_cursor_pos_ptr
This commit is contained in:

committed by
Justin M. Keyes

parent
2a154ef71d
commit
baaa428785
@@ -6120,7 +6120,7 @@ static void ex_open(exarg_T *eap)
|
||||
regmatch.regprog = vim_regcomp(eap->arg, p_magic ? RE_MAGIC : 0);
|
||||
if (regmatch.regprog != NULL) {
|
||||
regmatch.rm_ic = p_ic;
|
||||
p = ml_get_curline();
|
||||
p = get_cursor_line_ptr();
|
||||
if (vim_regexec(®match, p, (colnr_T)0))
|
||||
curwin->w_cursor.col = (colnr_T)(regmatch.startp[0] - p);
|
||||
else
|
||||
|
Reference in New Issue
Block a user