-
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
I was trying to add latex environment to endwise by adding the following code:
let b:endwise_addition = '\\end{\=submatch(1)}'
let b:endwise_addition = 'end'
let b:endwise_words = 'begin'
let b:endwise_pattern = '^\s*\\begin{\(.\+\)}.*$'
let b:endwise_syngroups = 'texBeginEndName'to ftplugin/tex.vim and it fails.
I guess I completely do not understand how configuration is supposed to be done. The idea is to close the following block:
\begin{env}[optional]{parameters}
\end{env}The block may be indented. Is it possible to add the latex support to the endwise?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels