Mercurial > vim
comparison src/tag.c @ 17809:59f8948b7590 v8.1.1901
patch 8.1.1901: the +insert_expand feature is not always available
Commit: https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 21 14:37:09 2019 +0200
patch 8.1.1901: the +insert_expand feature is not always available
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Aug 2019 14:45:04 +0200 |
parents | 04245f071792 |
children | 6e8b7c58c526 |
comparison
equal
deleted
inserted
replaced
17808:42561b61bfd8 | 17809:59f8948b7590 |
---|---|
1899 if (state == TS_BINARY || state == TS_SKIP_BACK) | 1899 if (state == TS_BINARY || state == TS_SKIP_BACK) |
1900 line_breakcheck(); | 1900 line_breakcheck(); |
1901 else | 1901 else |
1902 #endif | 1902 #endif |
1903 fast_breakcheck(); | 1903 fast_breakcheck(); |
1904 #ifdef FEAT_INS_EXPAND | |
1905 if ((flags & TAG_INS_COMP)) /* Double brackets for gcc */ | 1904 if ((flags & TAG_INS_COMP)) /* Double brackets for gcc */ |
1906 ins_compl_check_keys(30, FALSE); | 1905 ins_compl_check_keys(30, FALSE); |
1907 if (got_int || ins_compl_interrupted()) | 1906 if (got_int || ins_compl_interrupted()) |
1908 #else | |
1909 if (got_int) | |
1910 #endif | |
1911 { | 1907 { |
1912 stop_searching = TRUE; | 1908 stop_searching = TRUE; |
1913 break; | 1909 break; |
1914 } | 1910 } |
1915 /* When mincount is TAG_MANY, stop when enough matches have been | 1911 /* When mincount is TAG_MANY, stop when enough matches have been |