As the backslash in the file path is interpreted as an invalid escape
sequence, one could mark the docstring as raw string or rather just
remove the line altogehter, what was done here.
This resolves issue #225.
If you have something like
\begin{align}
maths
\begin{aligned}
more maths
\end{aligned}
yet more maths
\end{align}
the folding will be wrong as there is nested align* environments. Same thing for gathered.
Aliases for environments and commands
* Fix xml for b523d67
* Add g:Tex_Env_name_aliasto macro for environment aliases
This feature enables user to set alias to the environment keywords to be
expanded, so that user could save keystrokes by setting shorter keywords
* Add g:Tex_Com_name_aliasto macro for command aliases
* The setting in the main.vim that mapped "`w " to "\wedge" is deleted
since we already have "`&" mapped for that. Having two keys mapping
to the same thing while `\omega` has no key-mapping is a waste and
also very likely to be an accidental mistake.
* Also added a new mapping that would expand "`o" to "\omicron". While the
letters may seem similar in use but this change helps to make the
behavior of the plugin consistant with the description on the manual.
Besides "`o" has no mapping before.
With commit fdad7ebe, all instances of macOS detection condition were
changed to `has("osx")`. However, this may incorrectly exclude certain
vim versions.
Attempt to address this by using `has("osx") || has("macunix")`.
Cf: vim-latex/vim-latex#109
On macOS High Sierra, the system vim (/usr/bin/vim) is compiled as a
"Normal Version" binary without the "macunix" feature, and
has("macunix") returns 0. In the scripts, this breaks the code guarded
by such condition, intended to work on macOS platform. For example, the
platform- and configuration-specific forward search with <Leader>ls is
broken.
To fix this, use has("osx") in the place of has("macunix"). The former
is more inclusive than the latter and will return 1 on the High Sierra
system vim, therefore correctly identifying the platform.
The Homebrew vim is compiled as "Huge Version" binary, and
has("macunix") works in it. Therefore, the change is not necessary, but
still compatible.
Otherwise, the vmap's are used in select-mode (after jumping to
placeholders), but the user might expect to use the mappings from
insert-mode. Moreover, the usual vmap's (e.g. enclose something in
certain commands) are not useful after jumping to placeholders.
Fixvim-latex/vim-latex#102