Better definition for inner environments
This commit is contained in:
parent
28f7120eab
commit
30b551bc58
@ -197,7 +197,7 @@ function! latex#motion#sel_environment(...) " {{{1
|
|||||||
if env =~ '^\'
|
if env =~ '^\'
|
||||||
call search('\\.\_\s*\S', 'eW')
|
call search('\\.\_\s*\S', 'eW')
|
||||||
else
|
else
|
||||||
call search('}\(\_\s*\[\_[^]]*\]\)\?\_\s*\S', 'eW')
|
call search('}\(\_\s*\(\[\_[^]]*\]\|{\_\S\{-}}\)\)\?\_\s*\S', 'eW')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if visualmode() ==# 'V'
|
if visualmode() ==# 'V'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user