Skip to content

Commit

Permalink
add starlarkString
Browse files Browse the repository at this point in the history
  • Loading branch information
cappyzawa committed May 12, 2019
1 parent 0456dc3 commit e24aba8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autoload/starlark.vim
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ function! starlark#set_syntax(contained) abort
exec 'syn region starlarkBlock start="{" end="}" transparent fold ' . l:option
exec 'syn region starlarkParen start="(" end=")" transparent ' . l:option

exec 'syn region starlarkString start=+"+ skip=+\\\\\|\\"+ end=+"+ ' . l:option
exec 'syn region starlarkString start=+`+ end=+`+ ' . l:option

hi def link starlarkString String

syn sync minlines=500
endfunction

Expand Down

0 comments on commit e24aba8

Please sign in to comment.