From 55eacff0bb02deec0b968a7909277185ec9dfdc3 Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Sat, 26 Nov 2022 11:03:58 +0100 Subject: [PATCH] feat: add in bleep.yaml as a default root pattern. This will help https://bleep.build/ users --- lua/metals/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/metals/config.lua b/lua/metals/config.lua index 9ab05fe..bb0c2d6 100644 --- a/lua/metals/config.lua +++ b/lua/metals/config.lua @@ -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)