Mercurial > vim
comparison runtime/syntax/conf.vim @ 24569:e3ec2ec8841a
Update runtime files
Commit: https://github.com/vim/vim/commit/4c295027a426986566cd7a76c47a6d3a529727e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 2 17:19:11 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 May 2021 17:30:05 +0200 |
parents | 7033303ea0c0 |
children | 4027cefc2aab |
comparison
equal
deleted
inserted
replaced
24568:3671ff322103 | 24569:e3ec2ec8841a |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: generic configure file | 2 " Language: generic configure file |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2005 Jun 20 | 4 " Last Change: 2021 May 01 |
5 | 5 |
6 " Quit when a (custom) syntax file was already loaded | 6 " Quit when a (custom) syntax file was already loaded |
7 if exists("b:current_syntax") | 7 if exists("b:current_syntax") |
8 finish | 8 finish |
9 endif | 9 endif |
10 | 10 |
11 syn keyword confTodo contained TODO FIXME XXX | 11 syn keyword confTodo contained TODO FIXME XXX |
12 " Avoid matching "text#text", used in /etc/disktab and /etc/gettytab | 12 " Avoid matching "text#text", used in /etc/disktab and /etc/gettytab |
13 syn match confComment "^#.*" contains=confTodo | 13 syn match confComment "^#.*" contains=confTodo,@Spell |
14 syn match confComment "\s#.*"ms=s+1 contains=confTodo | 14 syn match confComment "\s#.*"ms=s+1 contains=confTodo,@Spell |
15 syn region confString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline | 15 syn region confString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline |
16 syn region confString start=+'+ skip=+\\\\\|\\'+ end=+'+ oneline | 16 syn region confString start=+'+ skip=+\\\\\|\\'+ end=+'+ oneline |
17 | 17 |
18 " Define the default highlighting. | 18 " Define the default highlighting. |
19 " Only used when an item doesn't have highlighting yet | 19 " Only used when an item doesn't have highlighting yet |