mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-11 11:23:47 -05:00
Merge pull request #44 from noqqe/master
Compatibility changes for vim 7.2 in colorcolumn
This commit is contained in:
@@ -243,7 +243,7 @@ fun! pencil#init(...) abort
|
|||||||
setl breakat-=@ " avoid breaking at email addresses
|
setl breakat-=@ " avoid breaking at email addresses
|
||||||
en
|
en
|
||||||
|
|
||||||
if has('syntax')
|
if exists('&colorcolumn')
|
||||||
setl colorcolumn=0 " doesn't align as expected
|
setl colorcolumn=0 " doesn't align as expected
|
||||||
en
|
en
|
||||||
el
|
el
|
||||||
@@ -255,7 +255,7 @@ fun! pencil#init(...) abort
|
|||||||
setl breakat<
|
setl breakat<
|
||||||
en
|
en
|
||||||
|
|
||||||
if has('syntax')
|
if exists('&colorcolumn')
|
||||||
setl colorcolumn<
|
setl colorcolumn<
|
||||||
en
|
en
|
||||||
en
|
en
|
||||||
|
|||||||
Reference in New Issue
Block a user