vim-context-metapost

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2026-01-15
19:36
Remove --nonstopmode following Hans Hagen's recommendation: > It would be nice if the syncing works with --nonstopmode. just don't give --nonstopmode .. we stop anyway Leaf check-in: 084257137e user: lifepillar tags: vim9script
10:44
Pass base name to typesetting command. I have noticed that if a full path is passed, ConTeXt writes the full path in the `.synctex` file, which, for some reason, breaks `mtxrun --script synctex`. check-in: 02c3b00dc2 user: lifepillar tags: vim9script
2026-01-10
18:12
Remove trailing whitespace in help file. check-in: 95654ffe51 user: lifepillar tags: vim9script
17:35
Update ft_context.txt. check-in: 60c7de3f73 user: lifepillar tags: vim9script
17:29
Delete shared syntax files, as they can be easily generated with mtxrun. check-in: 1821affbe5 user: lifepillar tags: vim9script
17:18
Review all scripts. The main change I've made is the ability to parse `runpath:texruns=...` at the start of a document. Also, if a log file does not exist, no new buffer is created. check-in: efd1ac79fd user: lifepillar tags: vim9script
17:10
Partial revert previous commit: g:mp_close_tag and g:mp_open_tag are actually used for indentation. check-in: 398621eccc user: lifepillar tags: vim9script
15:18
Update ft_mp.txt. Remove references to {begin|end}_tag options because MatchIt's b:match_words can be used for that. check-in: 12cac466cf user: lifepillar tags: vim9script
15:02
Update deploy plugin accordingly. check-in: 90f9ba709b user: lifepillar tags: vim9script
15:02
Remove ftdetect file. Suffixes are now specified in $VIMRUNTIME/autoload/dist/ft.vim. check-in: 62ba56c03b user: lifepillar tags: vim9script
14:58
Update deploy script. check-in: 1a7f81db69 user: lifepillar tags: vim9script
14:58
Remove dry run flag from deploy script. check-in: 857ac3af4b user: lifepillar tags: vim9script
14:57
Move script into tools folder. check-in: 9d95d78f62 user: lifepillar tags: vim9script
14:56
Add shell script to copy files to a target Vim runtime. check-in: bfae94cbcb user: lifepillar tags: vim9script
14:47
Update ConTeXt errorformat. check-in: 42c0198cdd user: lifepillar tags: vim9script
14:47
Update ft_context.txt. check-in: 77b52827b6 user: lifepillar tags: vim9script
13:08
Import changes made by the Vim project. check-in: b47f9bb730 user: lifepillar tags: vim9script
2024-04-05
18:37
Remove check for CompilerSet. check-in: bd6e9511c3 user: lifepillar tags: vim9script
2024-03-31
19:22
Merge patch from https://github.com/vim/vim/pull/14336 to use `CompilerSet` to set `makeprg` and `errorformat`. check-in: 5d8ac636a0 user: lifepillar tags: vim9script
2023-12-26
16:06
Fix typo in doc file. check-in: c9fc242005 user: lifepillar tags: vim9script
16:02
Fix some dates. check-in: c63b722b00 user: lifepillar tags: vim9script
15:47
Update ConTeXt shared syntax files. check-in: 9a5e497718 user: lifepillar tags: vim9script
15:47
Add keepend to contextBeginEndLua rule. This is to mitigate an issue reported by a user: >Take the following valid ConTeXt file: > > \starttext > \ctxlua{context("Text generated from Lua.")} > \ctxlua{context("Another text generated from Lua.")} > \stoptext > >On my Vim installation (including when I start vim with --clean), the closing >bracket and curly braces on line 2 are highlighted red and the syntax >highlighting after that is off. > >I was trying to dig a little bit into what was going on, using the synID and >synIDattr functions. It appears that the closing bracket on line 2 is matched >as a luaParentError instead of the end of the luaParen region. Therefore, the >luaParen region continues all the way to the end of the file. The closing >curly brace on line 2 is matched as a luaError, the 2nd ‘\ctxlua’ on line 3 as >luaParen, etc. > >This issue doesn’t occur in a plain Lua file, where the closing bracket is >correctly matched as the end of the luaParen region. So it seems that something >goes wrong when the Lua syntax file is included in the ConTeXt one. Alas, >that’s where I reach the limit of my knowledge of Vim syntax highlighting. With the fix in this commit, the right parenthesis for some reason is still highlighted as a luaParenError, but at least the right curly brace should correctly end the Lua block. From what I've seen, I think it's very difficult so embed Lua syntax properly without help from the Lua syntax file (that is, without patching it). It has global rules such as: syn match luaParenError ")" syn match luaError "}" which make it difficult, if not impossible, to “contain” Lua syntax without `keepend` (and its limitations). check-in: 308f8bbd3a user: lifepillar tags: vim9script
2022-09-19
11:43
Update latest revision date. check-in: 8d7ccbe6b1 user: lifepillar tags: vim9script
2022-09-10
18:35
Reinstate g:context_extra_options. check-in: 6f777ea82a user: lifepillar tags: vim9script
2022-08-25
15:20
Fix wrong and missing tags in the help files. check-in: 48954543ee user: lifepillar tags: v20220812, vim9script
06:42
Update the documentation. check-in: 4a5d758270 user: lifepillar tags: vim9script
06:31
Use .txt suffix for help files. check-in: be04b5a2f2 user: lifepillar tags: vim9script
06:28
Remove check for Vim 9 script. check-in: d6dbe29c59 user: lifepillar tags: vim9script
06:27
Use a global variable for current_compiler. check-in: 23ac584b81 user: lifepillar tags: vim9script
2022-08-13
06:36
Remove MetaFun ftdetect patterns, as they have been added in Vim. check-in: e139549d83 user: lifepillar tags: vim9script
2022-08-12
14:46
Autocomplete more keywords. check-in: 8ed1e75cfd user: lifepillar tags: vim9script
14:21
Fix path of context-data-metafun.vim in MetaPost syntax file. check-in: 6e045c4a80 user: lifepillar tags: vim9script
14:10
Use Vim 9 script syntax in the documentation. check-in: bd815b53b3 user: lifepillar tags: vim9script
14:05
Fix indentation for braces in ConTeXt. check-in: d4ff82ffac user: lifepillar tags: vim9script
13:59
Put automatically generated syntax files in syntax/shared as suggested by Bram. Make MetaPostIndent() global, so that it is visible by indent/context.vim (using an import does not seem to be feasible). Merge autoload/contextcomplete.vim into autoload/context.vim. check-in: 234441a84a user: lifepillar tags: vim9script
12:40
Fix typo in documentation. check-in: 8088234b14 user: lifepillar tags: vim9script
12:13
Replace README.md with a wiki page. check-in: 87cb107373 user: lifepillar tags: vim9script
08:34
Add missing file. check-in: 7601bc225a user: lifepillar tags: vim9script
08:08
Generalize patterns for foreign language blocks. check-in: 6f4d485a0e user: lifepillar tags: vim9script
08:01
Fix ftdetect command (add missing let). check-in: ad14eb8791 user: lifepillar tags: vim9script
07:58
Update the documentation. check-in: 07afaf3263 user: lifepillar tags: vim9script
07:50
Update latest revision date. check-in: fbff97d564 user: lifepillar tags: vim9script
07:40
Check for unsaved file (empty buffer's name). check-in: 67843e1051 user: lifepillar tags: vim9script
07:39
Fix missing argument to ConTeXtLog. check-in: b369dcba94 user: lifepillar tags: vim9script
07:16
Set guards not to raise errors if +vim9script is not available. check-in: 9c7948285c user: lifepillar tags: vim9script
07:13
Do not set `vim9script` in ftdetect scripts. check-in: 855e354ce8 user: lifepillar tags: vim9script
07:11
Remove unused doc file. check-in: f1f29107fd user: lifepillar tags: vim9script
07:10
Define %! to manually set the indentation level. Fix a bug caused by using a number as a condition. Extend the documentation. check-in: ddf3967e17 user: lifepillar tags: vim9script
2022-08-11
21:14
Add `drawdot` to MetaPost's multi-line statements for indentation. check-in: d9eb292d5d user: lifepillar tags: vim9script