Comments (7)
With this minimal vimrc file, VimTeX is not loaded. Please update the minimal config or clarify how you've setup things so that VimTeX gets loaded.
from vimtex.
Ah, sorry. I have VimTex in my ~/.vim/pack/mypacks/start
folder. As you can see I can execute :VimtexInfo
.
from vimtex.
Ah, sorry. I have VimTex in my
~/.vim/pack/mypacks/start
folder. As you can see I can execute:VimtexInfo
.
Ok. Do you have other plugins installed in this manner?
To exclude the possibility of a plugin conflict, can you use this adjusted minimal vimrc:
set nocompatible
set runtimepath^=~/.vim/pack/mypacks/start/vimtex
set runtimepath+=~/.vim/pack/mypacks/start/vimtex/after
filetype plugin on
syntax enable
And then vim --clean -u minimal.vim minimal.tex
to start. The --clean
should ensure that other pack
s are not loaded; see :help --clean
.
from vimtex.
That works, so it has to be a plugin conflict. (My apologies: for testing I used a pack
directory which contained only VimTex).
With the additional paths, vim -u minimal.vim minimal.tex
also works.
How can I troubleshoot this? I have no idea how to start looking for the culprit.
from vimtex.
Given your original minimal config from the first post:
- Open a tex file.
- What is the result of
:omap $
? - What is the result of
:scriptnames
?
from vimtex.
- "No mapping found"
- THIS!
[...]
>> 93: ~/.vim/after/ftplugin/tex.vim
>> 94: ~/.vim/syntax/tex.vim
[...]
Apparently, I have had these laying around since... Forever. Removing those fixes the issue.
Thank you so much for your patience! Was there a troubleshooting guide anywhere? I could not find the :scriptnames
command, which I know I will use again in the future.
(And thanks for vimtex. It's a godsend <3)
from vimtex.
- THIS!
[...] >> 93: ~/.vim/after/ftplugin/tex.vim >> 94: ~/.vim/syntax/tex.vim [...]
Apparently, I have had these laying around since... Forever. Removing those fixes the issue.
Great, glad to hear you figured it out!
Thank you so much for your patience! Was there a troubleshooting guide anywhere? I could not find the
:scriptnames
command, which I know I will use again in the future.
Sorry, I don't really know any good guides that teach you how to troubleshoot like this. I've learned it through experience.
You do find information about it in the docs, of course, but it is not mentioned in the user manual (:help usr_01
).
(And thanks for vimtex. It's a godsend <3)
Thanks! <3
from vimtex.
Related Issues (20)
- Lag, (probably not related with known matchparen issue HOT 4
- Add conceal for corners HOT 1
- Poor error output in bibliography issue HOT 3
- Autocompletion using '\' instead of '/' in paths (Windows 10) HOT 7
- Cannot call zathura from vimtex HOT 4
- vimtex doesn't seem to recognise latexmkrc requesting lualatex HOT 4
- An option to deal with dot when toggling inline and displaymath with `ts$` HOT 1
- Real-time scrolling output of latexmk (or compiler) HOT 4
- Runtime compiler not using xelatex using `vimtex_compiler_latexmk`? HOT 2
- Highlight illegal characters HOT 10
- Implement a .lua configuration HOT 3
- how do I unmap just some mappings? HOT 4
- Inconsistent syntax highlighting in subscript and superscript HOT 1
- Help Add custom concealing rule for VimTeX on neovim HOT 3
- How do I get rid of a "latexmk is not executable" error? HOT 4
- supertab completion takes 20 seconds to complete a word when using many latex packages HOT 5
- Inverse search does not work with sioyek HOT 6
- Magic comment for compiler fails if there are trailing spaces HOT 3
- Vimtex doesnt boot HOT 3
- package 'unicode-math' yields compile error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimtex.