Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm experiencing trouble using vim in combination with latex-suite. Since recently there is a nice feature, that converts some latex commands, such as \varphi, into symbols better readable and more appealing to the eye.

Whenever the cursor hovers over a line, this feature is disabled for that line, since it would bother typing tex stuff. You can see this in the screenshot below, where the cursor is on the bottom line. However, when entering insert mode in vim, the feature gets enabled again, causing trouble with typing. Why is this, and how can I fix it?

vim screenshot

share|improve this question
    
Welcome to TeX.SX. –  Claudio Fiandrino Feb 4 '13 at 17:37
    
Wow, I reinstalled all vim-plugins, and now the 'conversion feature' is gone! I have no idea what's going on. Does anyone know what's normally responsible for the 'conversion feature'? –  Chiel92 Feb 4 '13 at 17:56
    
I have the same problem here, I don't even use latex-suite. –  qed Aug 10 '13 at 10:33
add comment

1 Answer

up vote 1 down vote accepted

I have encountered the same problem as the OP, and I found that it is caused by the neosnippet configuration, which contains the folloing lines:

" For snippet_complete marker.
if has('conceal')
  set conceallevel=2 concealcursor=i
endif

The neosnippet plugin probably uses the 'conceal' feature of vim for some of its autocompletion functions. The solution is either to comment out these lines or add an extra line in your ~/.vimrc:

let g:tex_conceal = ""

See also here.

share|improve this answer
    
Thank you for this information. I didn't know neosnippet had this feature. This clears up things. –  Chiel92 Aug 10 '13 at 14:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.