Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
f5b6386f
Commit
f5b6386f
authored
15 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.2-317
parent
56d1db30
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/syntax.c
+7
-6
7 additions, 6 deletions
src/syntax.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
9 additions
and
6 deletions
src/syntax.c
+
7
−
6
View file @
f5b6386f
...
...
@@ -206,7 +206,7 @@ typedef struct syn_pattern
static int current_attr = 0; /* attr of current syntax word */
#ifdef FEAT_EVAL
static int current_id = 0; /* ID of current char for syn_get_id() */
static int current_trans_id = 0; /* idem, transpar
a
ncy removed */
static int current_trans_id = 0; /* idem, transpar
e
ncy removed */
#endif
typedef struct syn_cluster_S
...
...
@@ -282,7 +282,7 @@ typedef struct state_item
int si_idx; /* index of syntax pattern or
KEYWORD_IDX */
int si_id; /* highlight group ID for keywords */
int si_trans_id; /* idem, transpar
a
ncy removed */
int si_trans_id; /* idem, transpar
e
ncy removed */
int si_m_lnum; /* lnum of the match */
int si_m_startcol; /* starting column of the match */
lpos_T si_m_endpos; /* just after end posn of the match */
...
...
@@ -1274,7 +1274,7 @@ syn_stack_cleanup()
dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
/*
* Go through
t
the list to find the "tick" for the oldest entry that can
* Go through the list to find the "tick" for the oldest entry that can
* be removed. Set "above" when the "tick" for the oldest entry is above
* "b_sst_lasttick" (the display tick wraps around).
*/
...
...
@@ -2319,7 +2319,7 @@ syn_current_attr(syncing, displaying, can_spell, keep_state)
? (syn_buf->b_spell_cluster_id == 0)
: (syn_buf->b_syn_spell == SYNSPL_TOP);
/* nextgroup ends at end of line, unless "skipnl" or "skipem
t
py" present */
/* nextgroup ends at end of line, unless "skipnl" or "skipemp
t
y" present */
if (current_next_list != NULL
&& syn_getcurline()[current_col + 1] == NUL
&& !(current_next_flags & (HL_SKIPNL | HL_SKIPEMPTY)))
...
...
@@ -6108,7 +6108,7 @@ syn_get_id(wp, lnum, col, trans, spellp, keep_state)
win_T *wp;
long lnum;
colnr_T col;
int trans; /* remove transpar
a
ncy */
int trans; /* remove transpar
e
ncy */
int *spellp; /* return: can do spell checking */
int keep_state; /* keep state of char at "col" */
{
...
...
@@ -7523,7 +7523,7 @@ highlight_clear(idx)
#if defined(FEAT_GUI) || defined(PROTO)
/*
* Set the normal foreground and background colors according to the "Normal"
* highligh
igh
ting group. For X11 also set "Menu", "Scrollbar", and
* highlighting group. For X11 also set "Menu", "Scrollbar", and
* "Tooltip" colors.
*/
void
...
...
@@ -8647,6 +8647,7 @@ syn_add_group(name)
if (!vim_isprintc(*p))
{
EMSG(_("E669: Unprintable character in group name"));
vim_free(name);
return 0;
}
else if (!ASCII_ISALNUM(*p) && *p != '_')
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
f5b6386f
...
...
@@ -681,6 +681,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
317
,
/**/
316
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment