Mercurial > vim
comparison runtime/syntax/netrc.vim @ 32294:b2e8663e6dcc
Update runtime files
Commit: https://github.com/vim/vim/commit/71badf9547e8f89571b9a095183671cbb333d528
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 22 22:40:14 2023 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Apr 2023 23:45:05 +0200 |
parents | 1218c5353e2b |
children |
comparison
equal
deleted
inserted
replaced
32293:6f7c948e5b15 | 32294:b2e8663e6dcc |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: netrc(5) configuration file | 2 " Language: netrc(5) configuration file |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | 3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> |
4 " Latest Revision: 2010-01-03 | 4 " Latest Revision: 2010-01-03 |
5 " Last Change: 2023 Feb 27 by Keith Smiley | |
5 | 6 |
6 if exists("b:current_syntax") | 7 if exists("b:current_syntax") |
7 finish | 8 finish |
8 endif | 9 endif |
9 | 10 |
33 | 34 |
34 syn keyword netrcSpecial contained anonymous | 35 syn keyword netrcSpecial contained anonymous |
35 syn match netrcInit contained '\<init$' | 36 syn match netrcInit contained '\<init$' |
36 \ nextgroup=netrcMacro skipwhite skipnl | 37 \ nextgroup=netrcMacro skipwhite skipnl |
37 | 38 |
39 syn match netrcComment '#.*$' | |
40 | |
38 syn sync fromstart | 41 syn sync fromstart |
39 | 42 |
40 hi def link netrcKeyword Keyword | 43 hi def link netrcKeyword Keyword |
41 hi def link netrcMacro PreProc | 44 hi def link netrcMacro PreProc |
42 hi def link netrcMachine Identifier | 45 hi def link netrcMachine Identifier |
43 hi def link netrcLogin String | 46 hi def link netrcLogin String |
44 hi def link netrcPassword String | 47 hi def link netrcPassword String |
45 hi def link netrcMacroName String | 48 hi def link netrcMacroName String |
46 hi def link netrcSpecial Special | 49 hi def link netrcSpecial Special |
47 hi def link netrcInit Special | 50 hi def link netrcInit Special |
51 hi def link netrcComment Comment | |
48 | 52 |
49 let b:current_syntax = "netrc" | 53 let b:current_syntax = "netrc" |
50 | 54 |
51 let &cpo = s:cpo_save | 55 let &cpo = s:cpo_save |
52 unlet s:cpo_save | 56 unlet s:cpo_save |