diff 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
line wrap: on
line diff
--- a/runtime/syntax/netrc.vim
+++ b/runtime/syntax/netrc.vim
@@ -2,6 +2,7 @@
 " Language:             netrc(5) configuration file
 " Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
 " Latest Revision:      2010-01-03
+" Last Change:		2023 Feb 27 by Keith Smiley
 
 if exists("b:current_syntax")
   finish
@@ -35,6 +36,8 @@ syn keyword netrcSpecial    contained an
 syn match   netrcInit       contained '\<init$'
                           \ nextgroup=netrcMacro skipwhite skipnl
 
+syn match   netrcComment    '#.*$'
+
 syn sync fromstart
 
 hi def link netrcKeyword    Keyword
@@ -45,6 +48,7 @@ hi def link netrcPassword   String
 hi def link netrcMacroName  String
 hi def link netrcSpecial    Special
 hi def link netrcInit       Special
+hi def link netrcComment    Comment
 
 let b:current_syntax = "netrc"