Closed Brixy closed 10 years ago
Strange. What is the version of MacVim you are running? Could you update Goyo, Limelight, and MacVim and try again?
Thanks for your quick reply!
I updated all your plugins and the seoul color scheme.
MacVim is Snapshot 73.
Yet, the problem still occurs.
When I run Vim within iTerm2, everything works just fine.
Hmm, I can't reproduce the problem with the MacVim version you mentioned. s:default_coeff
is once set when the plugin is initially loaded and never unset. So it's very strange that you see the above error.
Yes, I found s:default_coeff
in your script.
Even without a .vimrc
the error occurs. Very strange indeed.
Could you post your .vimrc?
Here are the relevant parts. The error message occurs even with this excerpt. Goyo, however, works fine.
Thanks a lot!
set nocompatible
set encoding=utf-8
au BufRead,BufNewFile *.md,*.markdown,*.mdown,*.mkd,*.mkdn set filetype=markdown
syntax enable
colorscheme seoul256
" ------------------------------------------
" Limelight does not work without
" the following setting.
" Commented out for testing purposes
" ------------------------------------------
" let g:limelight_conceal_ctermfg = 'gray'
" let g:limelight_conceal_ctermfg = 240
" let g:limelight_conceal_guifg = 'DarkGray'
" let g:limelight_conceal_guifg = '#777777'
Hmm, nothing looks suspicious. Let me ask you a couple more questions.
Hi, I deleted all plugins without success.
My MacVim installation is from
https://github.com/b4winckler/macvim/releases
Strangely, when MacVim.app is started directly, all stays the same. When started by executing the shell script mvim
from the download folder, Limelight works! (I did’t remember the mvim file.) I don’t know why.
Then it looks like an issue of MacVim. In any way, I haven't been able to reproduce the problem. Sorry but I'm not sure if I can help you with this.
Thank you very much for investigating.
Now I simply open vim using a short terminal alias—and Limelight works perfectly.
Okay, I'm closing the issue. Let me know if you happen to find out the cause.
Hi @junegunn. Just found out—by accident—what the problem is. Opening MacVim via Spotlight or Finder causes the problem, opening it via terminal makes the coeff
variable value work.
Without a dot, the variable always works (that is 0
and 1
only).
The combination Goyo/Limelight/Seoul is just great. Thanks for this.
There seems to be an issue with MacVim:
On MacVim Limelight only works when
limelight_conceal_ctermfg
etc. are set.