diff options
author | tv <tv@krebsco.de> | 2016-06-10 14:43:38 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-06-10 16:04:56 +0200 |
commit | fed55eed93033a2eae440b45b5bf54f120d0ac8b (patch) | |
tree | d1afca7697320252e83d4f5c99ebaffed6fd6bda /tv/2configs | |
parent | 3b308d5ed92b4e12dca3a20c0c2811e2c407f47f (diff) |
tv nix.vim: NixString can span multiple lines
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/vim.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index c2f6c8455..f6a5cc9c1 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -218,7 +218,11 @@ let syn match NixHPATH /\~\(\/[a-zA-Z0-9\.\_\-\+]\+\)\+/ syn match NixSPATH /<[a-zA-Z0-9\.\_\-\+]\+\(\/[a-zA-Z0-9\.\_\-\+]\+\)*>/ syn match NixURI /[a-zA-Z][a-zA-Z0-9\+\-\.]*:[a-zA-Z0-9\%\/\?\:\@\&\=\+\$\,\-\_\.\!\~\*\']\+/ - syn match NixSTRING /"\([^\\"]\|\\.\)*"/ + syn region NixSTRING + \ matchgroup=NixSTRING + \ start='"' + \ skip='\\"' + \ end='"' syn region NixIND_STRING \ matchgroup=NixIND_STRING \ start="'''" |