forked from aniani/vim
patch 7.4.984
Problem: searchpos() always starts searching in the first column, which is not what some people expect. (Brett Stahlman) Solution: Add the 'z' flag: start at the specified column.
This commit is contained in:
@@ -930,6 +930,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname);
|
||||
#define SEARCH_MARK 0x200 /* set previous context mark */
|
||||
#define SEARCH_KEEP 0x400 /* keep previous search pattern */
|
||||
#define SEARCH_PEEK 0x800 /* peek for typed char, cancel search */
|
||||
#define SEARCH_COL 0x1000 /* start at specified column instead of zero */
|
||||
|
||||
/* Values for find_ident_under_cursor() */
|
||||
#define FIND_IDENT 1 /* find identifier (word) */
|
||||
|
Reference in New Issue
Block a user