Skip to content

Commit

Permalink
Merge pull request #668 from ckipp01/gradle.kts
Browse files Browse the repository at this point in the history
fix: account for gradle.kts
  • Loading branch information
ckipp01 authored Apr 23, 2024
2 parents 4f9bf0c + f912a2b commit 72f4733
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 @@ -318,7 +318,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", "bleep.yaml", ".git" }
or { "build.sbt", "build.sc", "build.gradle", "build.gradle.kts", "pom.xml", ".scala-build", "bleep.yaml", ".git" }

local bufname = api.nvim_buf_get_name(bufnr)

Expand Down

0 comments on commit 72f4733

Please sign in to comment.