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
a9a568ca
Commit
a9a568ca
authored
19 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.0224
parent
2092d322
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
runtime/syntax/tex.vim
+7
-2
7 additions, 2 deletions
runtime/syntax/tex.vim
src/structs.h
+4
-1
4 additions, 1 deletion
src/structs.h
with
11 additions
and
3 deletions
runtime/syntax/tex.vim
+
7
−
2
View file @
a9a568ca
" Vim syntax file
" Vim syntax file
" Language: TeX
" Language: TeX
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
" Last Change:
Feb 28
, 2006
" Last Change:
Mar 06
, 2006
" Version: 3
2
" Version: 3
3
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
"
"
" Notes: {{{1
" Notes: {{{1
...
@@ -186,6 +186,11 @@ syn region texSectionModifier matchgroup=Delimiter start="\[" end="]" contained
...
@@ -186,6 +186,11 @@ syn region texSectionModifier matchgroup=Delimiter start="\[" end="]" contained
syn
match
texDocType
"\\documentclass\>\|\\documentstyle\>\|\\usepackage\>"
nextgroup
=
texSectionName
,
texDocTypeArgs
syn
match
texDocType
"\\documentclass\>\|\\documentstyle\>\|\\usepackage\>"
nextgroup
=
texSectionName
,
texDocTypeArgs
syn
region texDocTypeArgs matchgroup
=
Delimiter start
=
"\["
end
=
"]"
contained nextgroup
=
texSectionName
syn
region texDocTypeArgs matchgroup
=
Delimiter start
=
"\["
end
=
"]"
contained nextgroup
=
texSectionName
" Preamble syntax-based folding support: {{{1
if
g:tex_fold_enabled
&&
has
(
"folding"
)
syn
region texPreamble transparent
fold
start
=
'\zs\\documentclass\>'
end
=
'\ze\\begin{document}'
contains
=
@texMatchGroup
endif
" TeX input: {{{1
" TeX input: {{{1
syn
match
texInput
"\\input\s\+[a-zA-Z/.0-9_^]\+"
hs
=
s
+
7
contains
=
texStatement
syn
match
texInput
"\\input\s\+[a-zA-Z/.0-9_^]\+"
hs
=
s
+
7
contains
=
texStatement
syn
match
texInputFile
"\\include\(graphics\|list\)\=\(\[.\{-}\]\)\=\s*{.\{-}}"
contains
=
texStatement
,
texInputCurlies
syn
match
texInputFile
"\\include\(graphics\|list\)\=\(\[.\{-}\]\)\=\s*{.\{-}}"
contains
=
texStatement
,
texInputCurlies
...
...
This diff is collapsed.
Click to expand it.
src/structs.h
+
4
−
1
View file @
a9a568ca
...
@@ -1249,13 +1249,16 @@ struct file_buffer
...
@@ -1249,13 +1249,16 @@ struct file_buffer
* The following only used in undo.c.
* The following only used in undo.c.
*/
*/
u_header_T
*
b_u_oldhead
;
/* pointer to oldest header */
u_header_T
*
b_u_oldhead
;
/* pointer to oldest header */
u_header_T
*
b_u_newhead
;
/* pointer to newest header */
u_header_T
*
b_u_newhead
;
/* pointer to newest header; may not be valid
if b_u_curhead is not NULL */
u_header_T
*
b_u_curhead
;
/* pointer to current header */
u_header_T
*
b_u_curhead
;
/* pointer to current header */
int
b_u_numhead
;
/* current number of headers */
int
b_u_numhead
;
/* current number of headers */
int
b_u_synced
;
/* entry lists are synced */
int
b_u_synced
;
/* entry lists are synced */
long
b_u_seq_last
;
/* last used undo sequence number plus 1 */
long
b_u_seq_last
;
/* last used undo sequence number plus 1 */
long
b_u_seq_cur
;
/* undo sequence number of last header used
long
b_u_seq_cur
;
/* undo sequence number of last header used
plus 1 */
plus 1 */
time_t
b_u_seq_time
;
/* uh_time of the last header used plus 1 or
uh_time of current header */
/*
/*
* variables for "U" command in undo.c
* variables for "U" command in undo.c
...
...
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