Error in filetype plugin when loading .fsx file
When I edit a script file in vim I get the following
Error detected while processing /Users/benfranklin/.vim/bundle/vim-fsharp/ftplugin/fsharp.vim:
line 81:
Traceback (most recent call last):
File "<string>", line 25, in <module>
File "<string>", line 21, in get_path
TypeError: argument of type 'NoneType' is not iterable
After I hit enter the file loads but without any syntax highlighting
May have a workaround. I tried explicitly loading the plugin (I'm using https://github.com/junegunn/vim-plug) using the command
:PlugInstall vim-fsharp
and then tried reloading the file (:e % when in the file) and I don't get the error and the syntax highlighting is back
Something might be wrong with the plug config perhaps? I don’t use it myself so PRs are greatly appreciated. :) On Tue, 14 Nov 2017 at 11:37, Ben Franklin [email protected] wrote:
May have a workaround. I tried explicitly loading the plugin (I'm using https://github.com/junegunn/vim-plug) using the command
:PlugInstall vim-fsharp
and then tried reloading the file (:e % when in the file) and I don't get the error and the syntax highlighting is back
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fsharp/vim-fsharp/issues/100#issuecomment-344232243, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIDlIizC4QzMnelpukK37MNUWNo9EQjks5s2Xt2gaJpZM4QdMkb .