Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url highlight and linebreak option clash #79

Open
petobens opened this issue Nov 24, 2018 · 0 comments
Open

url highlight and linebreak option clash #79

petobens opened this issue Nov 24, 2018 · 0 comments

Comments

@petobens
Copy link

Consider the following minimal vimrc:

set nocompatible

let $DOTVIM = expand('$HOME/.config/nvim')

if has('vim_starting')
    execute 'set runtimepath+=' . expand(
                \ '$DOTVIM/bundle/repos/github.com/Shougo/dein.vim')
endif
let g:dein#enable_name_conversion = 1
if dein#load_state(expand('$DOTVIM/bundle/'))
    call dein#begin(expand('$DOTVIM/bundle/'))
    call dein#add('gabrielelana/vim-markdown', {'on_ft' : 'markdown'})
    call dein#end()
    call dein#save_state()
endif

filetype plugin indent on
syntax enable
set linebreak

let g:markdown_enable_spell_checking = 0

When opening a split window then urls are wrongly highlighted:
screenshot_2018-11-24_17 45 34

Removing the set linebreak option fixes the problem but I want to keep that option.
Thanks in advance for looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant