added detection for name (eg. @Mike} and locator (eg. #JN49)

main
Michael Clemens 2 years ago
parent e568fc2899
commit 5822c0c204

@ -11,6 +11,8 @@ syn match fle_date /^\s*date \d\{4}-\d\{2}-\d\{2}/
syn match fle_time /\(^\s*\)\@<=\(\d\{4}\|\d\{1,2}\)\($\|\s\)/
syn match fle_freq /\d\{1,3}\.\d\{3}/
syn match fle_call /\(\S*\/\)\{-\}[a-zA-Z0-9]\{1,3}[0-9][a-zA-Z0-9]\{0,3}[a-zA-Z]/
syn match fle_loc /#\(\S\+\)/
syn match fle_name /@\(\S\+\)/
syn keyword fle_mode ssb cw fm am SSB CW FM AM
syn keyword fle_mode ft8 ft4 js8 rtty psk31 FT8 FT4 JS8 RTTY PSK31
@ -25,6 +27,8 @@ hi def fle_call ctermfg=blue
hi def fle_date ctermfg=blue
hi def fle_other ctermfg=blue
hi def fle_time ctermfg=green
hi def fle_loc ctermfg=green
hi def fle_name ctermfg=cyan
hi def fle_header ctermfg=red
hi def fle_freq ctermfg=red
hi def fle_mode ctermfg=red

Loading…
Cancel
Save