Skip to content

Commit

Permalink
Merge pull request #499 from ckipp01/bleep
Browse files Browse the repository at this point in the history
feat: add in bleep.yaml as a default root pattern.
  • Loading branch information
ckipp01 authored Nov 26, 2022
2 parents 1071ddc + 55eacff commit 92f7451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/metals/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ local function validate_config(config, bufnr)
-- custom patters to be passed in without doing the entire root_dir logic
-- yourself.
config.root_patterns = config.root_patterns
or { "build.sbt", "build.sc", "build.gradle", "pom.xml", ".scala-build", ".git" }
or { "build.sbt", "build.sc", "build.gradle", "pom.xml", ".scala-build", "bleep.yaml", ".git" }

local bufname = api.nvim_buf_get_name(bufnr)

Expand Down

0 comments on commit 92f7451

Please sign in to comment.