bitc / vim-hdevtools

Vim plugin for Haskell development
132 stars 25 forks source link

Type warning #23

Closed thunky-monk closed 9 years ago

thunky-monk commented 9 years ago

Hi,

Thanks so much for making and maintaining this plugin.

When using the type command, I get the warning:

hdevtools#type: the buffer has been modified but not written

Any idea what's wrong with my setup?

bitc commented 9 years ago

The type command only works for files that have been saved.

So always run :w before using the type command. Note that the file must also be free of errors for the type command to work (otherwise it will complain).

thunky-monk commented 9 years ago

Ah thanks!