itchyny / calendar.vim

A calendar application for Vim
MIT License
1.95k stars 72 forks source link

Nicer views (replacing line characters such as | + and - ) #115

Closed isene closed 7 years ago

isene commented 7 years ago

I tried to figure out where the line characters are placed in the code tree, but got lost. It would be nice to replace the regular | + and - characters that makes up the boxes in the views with the characters │┼ and ─ and possibly also ┘ ┐ ┌ └ ├ ┤ ┴ ┬ to make the lines in the boxes continuous.

itchyny commented 7 years ago

calendar.vim actually uses unicode borders https://github.com/itchyny/calendar.vim/blob/0d86fb4b3/autoload/calendar/setting.vim#L187 Please confirm that :echo &enc ==# 'utf-8' && &fenc ==# 'utf-8' prints 1.

isene commented 7 years ago

That was a quick response.

It prints "0"

How to fix?

isene commented 7 years ago

Fixed it with:

set fileencoding=utf-8