Skip to content

Commit

Permalink
Merge pull request #654 from ckipp01/bspPreference
Browse files Browse the repository at this point in the history
feat: add in new `defaultBspToBuildTool` user config
  • Loading branch information
ckipp01 authored Feb 22, 2024
2 parents 9e16c36 + e342bc0 commit 9f498a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/metals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ _ones that are sent and used by the server_
* |autoImportBuild|
* |bloopSbtAlreadyInstalled|
* |bloopVersion|
* |defaultBspToBuildTool|
* |enableSemanticHighlighting|
* |excludedPackages|
* |fallbackScalaVersion|
Expand Down Expand Up @@ -260,6 +261,14 @@ The highlight group that will be used to show decorations. For example, this
will change the way worksheet evaluations are displayed in `*.worksheet.sc`
file.

defaultBspToBuildTool *defaultBspToBuildTool*

Type: boolean ~
Default: false ~

When your build tool can also serve as your build server, default to using it
for BSP. The default is Bloop for build tools that Bloop supports.

*disabledMode*
Type: boolean ~
Default: false ~
Expand Down
1 change: 1 addition & 0 deletions lua/metals/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ local valid_metals_settings = {
"autoImportBuild",
"bloopSbtAlreadyInstalled",
"bloopVersion",
"defaultBspToBuildTool",
"enableSemanticHighlighting",
"excludedPackages",
"fallbackScalaVersion",
Expand Down

0 comments on commit 9f498a5

Please sign in to comment.