aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/netrc.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-04-23 15:22:55 +0200
committerGitHub <noreply@github.com>2023-04-23 15:22:55 +0200
commite3f36377c156749bbdafc46d8a8cd017f378b4b5 (patch)
treeacaaab31bc9e0bdaddc5765aa0b7d1acd11fbecf /runtime/syntax/netrc.vim
parentf17bb4f41102ecec7989bc4c14c626dc595e2f0b (diff)
downloadrneovim-e3f36377c156749bbdafc46d8a8cd017f378b4b5.tar.gz
rneovim-e3f36377c156749bbdafc46d8a8cd017f378b4b5.tar.bz2
rneovim-e3f36377c156749bbdafc46d8a8cd017f378b4b5.zip
vim-patch:71badf9547e8 (#23285)
Update runtime files https://github.com/vim/vim/commit/71badf9547e8f89571b9a095183671cbb333d528 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/syntax/netrc.vim')
-rw-r--r--runtime/syntax/netrc.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/syntax/netrc.vim b/runtime/syntax/netrc.vim
index 4d068a1b76..567aaa96de 100644
--- 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 anonymous
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"