Closed lgalke closed 7 years ago
I am curious if this could be related to #586. Could you read through the issue comments and see if something there might help?
I personally use vim-plug, but I did test once that the Vim 8 package system should work correctly. It did for me when I tested.
I must have missed a notification here, yes this perfectly describes the behaviour I was also experiencing. For another plugin, I also noticed that internal vim files get sources before e.g. b:did_indent
was set by internal indent/python.vim before pep8 indent could happen. I fixed it by branching and brute-force renaming the guard variable. But I was not aware that this behaviour is 1. caused by symlinking .vim and 2. also causes vimtex's init to break. Thanks a lot.
No problem! :)
Recently, I adapted my submodular pathogen architecture to match the recent package system of Vim8. Thus i moved vimtex plugin to ~/.vim/pack/extra/start/vimtex. But unfortunately, the plugin's functionality is missing, while the scripts are loaded ( in
scriptnames
). I found out that the traditional way of a bundle subdirectory inside ~/.vim and adding this viaexecute pathogen#infect()
does still work.Steps to reproduce
Expected behaviour Commands and localleader mappings should be set up.
Observed behaviour No commands and localleader mappings are set up. For syntax, $\alpha$ gets replaced (Still, I am not sure whether this is done by vimtex or plain tex ftplugin). However
:scriptnames
does contain vimtex's ftplugin:I also tried to reload the buffer via
:e %
or fire some autocommands:doautocmd BufReadPost
, but this did not help either.I do not have any .latexmk file and exclude all further (except for
g:tex_flavor
) option customization for vimtex from my vimrc. Other plugins are assumed to not interfere, since the usual pathogen+bundle/vimtex way does still work.Im not 100% sure whether vim's packages can also deal with
autoload/vimtex
directory. This might be my first guess why it does not work.Would be great to see a fix :)
Best Regards, Lukas Galke