Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

\n triggers multiline mode (fixes tomtom/tlib_vim#12)

  • Loading branch information...
commit 8a629a0f8ddb08564e7f515da6451c1dca3ee53b 1 parent 48dbc64
Tom Link authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  autoload/ttoc.vim
2  autoload/ttoc.vim
@@ -159,7 +159,7 @@ function! ttoc#Collect(world, return_index, ...) "{{{3
159 159 let s:rx = a:world.ttoc_rx
160 160 let rs = @/
161 161 let s:next_line = 1
162   - let s:multiline = stridx(a:world.ttoc_rx, '\_.') != -1
  162 + let s:multiline = a:world.ttoc_rx =~ '\\\@<!\\\(_\.\|n\)'
163 163 let s:world = a:world
164 164
165 165 try

0 comments on commit 8a629a0

Please sign in to comment.
Something went wrong with that request. Please try again.