mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-11 03:13: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
|
||||
en
|
||||
|
||||
if has('syntax')
|
||||
if exists('&colorcolumn')
|
||||
setl colorcolumn=0 " doesn't align as expected
|
||||
en
|
||||
el
|
||||
@@ -255,7 +255,7 @@ fun! pencil#init(...) abort
|
||||
setl breakat<
|
||||
en
|
||||
|
||||
if has('syntax')
|
||||
if exists('&colorcolumn')
|
||||
setl colorcolumn<
|
||||
en
|
||||
en
|
||||
|
||||
Reference in New Issue
Block a user