Search Criteria
Package Details: vim-vimtex-git 2.2.r10.g40a76277-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vim-vimtex-git.git (read-only, click to copy) |
---|---|
Package Base: | vim-vimtex-git |
Description: | A modern Vim and neovim filetype plugin for LaTeX files |
Upstream URL: | https://github.com/lervag/vimtex |
Licenses: | MIT |
Conflicts: | vim-vimtex |
Provides: | vim-vimtex |
Submitter: | sainnhe |
Maintainer: | sainnhe |
Last Packager: | sainnhe |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2021-02-20 02:26 (UTC) |
Last Updated: | 2021-06-03 08:00 (UTC) |
Dependencies (3)
- texlive-core (texlive-installerAUR, texlive-fullAUR, texlive-basic)
- vim (neovim-drop-inAUR, neovim-symlinksAUR, vim-cli-gitAUR, gvim-wayland-lilydjwg-gitAUR, vim-gitAUR, gvim-gtk2AUR, gvim)
- git (git-gitAUR, git-glAUR) (make)
Required by (1)
- vim-coc-vimtex-git (requires vim-vimtex)
Latest Comments
brisvag commented on 2021-06-30 13:54 (UTC)
@sainnhe thanks for the super clear and quick answer!
Indeed,
/usr/share/vim/vimfiles/
is actually at the end of the runtime paths.This seems like a problem that could show up in other packages as well, so I opened a bug report for neovim; maybe we can solve this at the source and avoid package duplication.
sainnhe commented on 2021-06-29 13:58 (UTC)
@brisvag: I just tried this, it should be caused by wrong &rtp order.
If you try
:echo &rtp
in vim you'll find something like this:The
ftplugin/tex.vim
path exists in both/usr/share/vim/vimfiles
(owned by this package) and/usr/share/vim/vim82
(owned by vim). As/usr/share/vim/vimfiles
is arranged before/usr/share/vim/vim82
, so the ftplugin in vimfiles will be loaded, which will register specific commands for vimtex.In neovim however, the
/usr/share/vim/vimfiles
is not arranged before/usr/share/nvim/runtime
by default, so the ftplugin in/usr/share/nvim/runtime
will be loaded.To get this plugin work, you need to make sure
/usr/share/vim/vimfiles
is arranged before/usr/share/nvim/runtime
, a possible solution is adding this to the end of init.vimMaybe creating a package for neovim will be better, hope someone else would like to do this.
brisvag commented on 2021-06-29 11:57 (UTC)
Something is different between installing this package and using (for example) vim-plug when using neovim. With the same exact vimrc (except for the
Plug
line), the vimtex commands are available in neovim, but they are not available with this package. Strangely, the help IS available, so nvim is at least partially aware of this. Even more strangely, other packages such as vim-julia-git or the community vim-nerdtree work perfectly fine in neovim, and I can't find any obvious differences in the PKGBUILD. Any ideas?sainnhe commented on 2021-06-03 08:00 (UTC)
@OliverLew: Thanks, should be fixed now.
xlucn commented on 2021-05-30 06:49 (UTC)
Media files are moved out of the repo:
https://github.com/lervag/vimtex/commit/f5c445fe86ee566e093ab14890beca26d11d8a12
Now there is an error when building package: