Skip to content

Commit

Permalink
Expose s:workspace to consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug123 authored Mar 24, 2024
1 parent 8435bae commit 31bfb6d
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 31bfb6d

Please sign in to comment.