fsharp / zarchive-vim-fsharp

F# bindings for vim
MIT License
143 stars 34 forks source link

Add support for displaying triple-slash comments #93

Closed 0x6a62 closed 7 years ago

0x6a62 commented 7 years ago

This PR adds the ability to show triple-slash comments. If you like the functionality, but don't like where I have it wired in, let me know. I'm flexible, but these seemed like the most logical places.

Method 1: h (help). It's like t, but additionally displays expression comments/documentation if available.

Method 2: configuration variable g:fsharp_helptext_comments enables comments to be included in omni completion display.

Examples: sample_tripleslash_leader_h

sample_tripleslash_onmicompletion

kjnilsson commented 7 years ago

This is great thank you! Works a treat.