Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Highlighting for line numbers in filenames

  • Loading branch information...
commit 7a476d8e29cc023424a8ae07055e515911cee9b3 1 parent 507aaac
Peter Odding authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  notes.vim
  2. +2 −0  syntax.vim
2  notes.vim
View
@@ -3,7 +3,7 @@
" Last Change: December 28, 2010
" URL: http://peterodding.com/code/vim/notes/
" License: MIT
-" Version: 0.7.17
+" Version: 0.7.18
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3375 1 :AutoInstall: session.zip
2  syntax.vim
View
@@ -70,6 +70,8 @@ highlight def link notesEmailAddr Underlined
syntax match notesUnixPath /\w\@<![\/~]\S\+\(\/\|[^ [:punct:]]\)/ contains=notesName | " <- UNIX style pathnames
syntax cluster notesInline add=notesUnixPath
highlight def link notesUnixPath Directory
+syntax match notesPathLnum /:\d\+/ contained containedin=notesUnixPath
+highlight def link notesPathLnum Comment
syntax match notesWindowsPath /\w\@<![A-Za-z]:\S\+\([\\/]\|[^ [:punct:]]\)/ contains=notesName | " <- Windows style pathnames
syntax cluster notesInline add=notesWindowsPath
highlight def link notesWindowsPath Directory
Please sign in to comment.
Something went wrong with that request. Please try again.