Skip to content

Commit

Permalink
Add workaround for #44
Browse files Browse the repository at this point in the history
  • Loading branch information
cannorin committed Feb 6, 2022
1 parent d12d806 commit 5dbcacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions autoload/fsharp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ function! fsharp#loadConfig()

" backend configuration
if g:fsharp#backend == 'languageclient-neovim'
let $DOTNET_ROLL_FORWARD='LatestMajor'
if !exists('g:LanguageClient_serverCommands')
let g:LanguageClient_serverCommands = {}
endif
Expand Down
1 change: 1 addition & 0 deletions lua/ionide/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ local function get_default_config()
local auto_init = vim.g['fsharp#automatic_workspace_init']
result.name = "ionide"
result.cmd = vim.g['fsharp#fsautocomplete_command']
result.cmd_env = { DOTNET_ROLL_FORWARD = "LatestMajor" }
result.root_dir = util.root_pattern("*.sln", "*.fsproj", ".git")
result.filetypes = {"fsharp"}
result.autostart = true
Expand Down

0 comments on commit 5dbcacf

Please sign in to comment.