Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Error in filetype plugin when loading .fsx file #100

Open
benfranklin79 opened this issue Nov 14, 2017 · 2 comments
Open

Error in filetype plugin when loading .fsx file #100

benfranklin79 opened this issue Nov 14, 2017 · 2 comments

Comments

@benfranklin79
Copy link

benfranklin79 commented Nov 14, 2017

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

@benfranklin79
Copy link
Author

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

@kjnilsson
Copy link
Contributor

kjnilsson commented Nov 14, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants