Mercurial > vim
comparison runtime/doc/syntax.txt @ 28141:dce918af0c00
Update runtime files
Commit: https://github.com/vim/vim/commit/47c532e2bc55e8a48f7f47e1fae1ed30144f2fa1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 19 15:18:53 2022 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Mar 2022 16:30:05 +0100 |
parents | c968191a8557 |
children | 6dd88e45d47d |
comparison
equal
deleted
inserted
replaced
28140:4511c6ef2893 | 28141:dce918af0c00 |
---|---|
5551 | 5551 |
5552 WARNING: The longer the tags file, the slower this will be, and the more | 5552 WARNING: The longer the tags file, the slower this will be, and the more |
5553 memory Vim will consume. | 5553 memory Vim will consume. |
5554 | 5554 |
5555 Only highlighting typedefs, unions and structs can be done too. For this you | 5555 Only highlighting typedefs, unions and structs can be done too. For this you |
5556 must use Exuberant ctags (found at http://ctags.sf.net). | 5556 must use Universal Ctags (found at https://ctags.io) or Exuberant ctags (found |
5557 at http://ctags.sf.net). | |
5557 | 5558 |
5558 Put these lines in your Makefile: | 5559 Put these lines in your Makefile: |
5559 | 5560 |
5560 # Make a highlight file for types. Requires Exuberant ctags and awk | 5561 # Make a highlight file for types. Requires Universal/Exuberant ctags and awk |
5561 types: types.vim | 5562 types: types.vim |
5562 types.vim: *.[ch] | 5563 types.vim: *.[ch] |
5563 ctags --c-kinds=gstu -o- *.[ch] |\ | 5564 ctags --c-kinds=gstu -o- *.[ch] |\ |
5564 awk 'BEGIN{printf("syntax keyword Type\t")}\ | 5565 awk 'BEGIN{printf("syntax keyword Type\t")}\ |
5565 {printf("%s ", $$1)}END{print ""}' > $@ | 5566 {printf("%s ", $$1)}END{print ""}' > $@ |