0

Hi I am seeing the following on my .tex files.

Notice the light blue boxes.

My .vimrc file looks like this

let mapleader =" "

call plug#begin('~/.vim/plugged')

Plug 'lervag/vimtex'
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
set conceallevel=1
let g:tex_conceal='abdmg'

Plug 'SirVer/Ultisnips'
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
Plug 'junegunn/goyo.vim'
call plug#end()

set nocompatible
filetype plugin on
set encoding=utf-8
set number relativenumber

set wildmode=longest,list,full

autocmd fileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o

map <leader>f :Goyo \| set linebreak<CR>

map <leader>o :setlocal spell! spelllang=en_uk<CR>

set splitbelow splitright

map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l

autocmd VimLeave *.tex !texclear % 

map <C-v> "+P`

I am also using pywal so maybe there is an incompatibility with that?

Thanks for your help

  • 3
    please describe what your problem is correctly. According to your screenshot, conceal seems to be working. Also, what exactly is pywal? – Christian Brabandt Oct 26 '19 at 7:18
  • Yes the functionality is working, but I would like those grey boxes to disappear. Pywal is a command that automatically sets terminal colours according to your wallpaper. – antotocar34 Oct 26 '19 at 9:50
  • Apologies for being unclear. – antotocar34 Oct 26 '19 at 9:50
  • 2
    Adjust the Conceal highlighting group to taste (or use conceallevel=2) – Christian Brabandt Oct 26 '19 at 12:48
0

try: hi clear Conceal at the bottom of your vimrc.

  • 1
    Welcome to this site! We encourage our users to write answers with justifications to make sure that their answers benefits to everyone, especially new Vimmer with few experience: Here it would be helpful to explain what your command does and why you think that resetting the Conceal highlighting group would solve OP's issue. You can use the 'edit' button to add these details. – statox Nov 19 '19 at 9:40
  • 1
    Following up on the comment from @statox, using edit to build on your answer is a great tool to help communicate to the site's users! – D. Ben Knoble Nov 19 '19 at 15:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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