Skip to content

Commit

Permalink
Merge pull request #80 from greggyb/fix-#75-auto-start-with-bare-fsx
Browse files Browse the repository at this point in the history
fix #75: Add root_dir pattern for "*.fsx"
  • Loading branch information
cannorin authored May 20, 2024
2 parents d94dd8f + 5c6e5b6 commit 8e6004a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ionide/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ local function get_default_config()
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.root_dir = util.root_pattern("*.sln", "*.fsproj", ".git", "*.fsx")
result.filetypes = {"fsharp"}
result.autostart = true
result.handlers = create_handlers()
Expand Down

0 comments on commit 8e6004a

Please sign in to comment.