Skip to content

Commit

Permalink
Merge pull request ionide#78 from Smaug123/patch-1
Browse files Browse the repository at this point in the history
Expose s:workspace to consumers
  • Loading branch information
cannorin authored Mar 26, 2024
2 parents 8435bae + 31bfb6d commit d94dd8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/fsharp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@ endfunction

let s:workspace = []

function! fsharp#getLoadedProjects()
return copy(s:workspace)
endfunction

function! fsharp#handle_notifyWorkspace(payload) abort
let content = json_decode(a:payload.content)
if content.Kind == 'projectLoading'
Expand Down

0 comments on commit d94dd8f

Please sign in to comment.