-
Notifications
You must be signed in to change notification settings - Fork 0
Syntax highlight for NUWEB (Literate Programming), multi-language version
vim-scripts/nuweb-multi-language
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2746 Almost entirely derived from by Patricio Toledo's original syntax file (http://www.vim.org/scripts/script.php?script_id=543) which highlits NUWEB scraps without any language-dependent syntax highlighting. I modified it in the following ways: 1) Scraps beginning with "@{/* C */" will be highlit as C 2) Scraps beginning with "@{# Python" will be highlit as Python. 3) For all other scraps, the opening "@{" must be followed by a newline. It's very easy to extend this syntax file to handle other languages. If someone else could fix #3, so that "@{anything@}" scraps could work without a newline following "@{", I'd appreciate it. Also, other ideas on doing multi-language highlighting are welcome.
About
Syntax highlight for NUWEB (Literate Programming), multi-language version
Resources
Stars
Watchers
Forks
Packages 0
No packages published