wlangstroth / vim-racket

vim bundle for Racket
MIT License
234 stars 60 forks source link

vim-plug support? #42

Closed roachsinai closed 5 years ago

roachsinai commented 5 years ago

Hi, is there a plan for vim-plug support? Or how to let it work with vim-plug?

jubnzv commented 5 years ago

What do you mean? For me it works with following configuration:

Plug 'https://github.com/wlangstroth/vim-racket'

Add this line to vim-plug initialization (see documentation) in your configuration file and use :PlugInstall to install vim-racket.

roachsinai commented 5 years ago

I used Plug 'wlangstroth/vim-racket', but nothing changed. I have to copy each directory like ftplugin, indent to ~/.vim to let it work.

jubnzv commented 5 years ago

I used Plug 'wlangstroth/vim-racket', but nothing changed. I have to copy each directory like ftplugin, indent to ~/.vim to let it work.

This issue is not related to vim-racket. Make sure that you install vim-plug correctly.

roachsinai commented 5 years ago

It seem's I have to change

au BufRead,BufNewFile *.rkt,*.rktl setf racket

to

au BufRead,BufNewFile *.rkt,*.rktl set filetype=racket

at https://github.com/wlangstroth/vim-racket/blob/c08b63500a70b3b654d2467d25f7c9fa4543d43a/ftdetect/racket.vim#L1

jubnzv commented 5 years ago

Oh, sure, there is bug in last commit: https://github.com/wlangstroth/vim-racket/pull/40#issuecomment-479394569. I completely forgot about it, I'm sorry.

I just created PR that will fix it.

roachsinai commented 5 years ago

Got it.