aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwvlab <me@wvlab.xyz>2026-03-19 19:04:34 +0200
committerGitHub <noreply@github.com>2026-03-19 13:04:34 -0400
commit73b3e0541044817a07629cfae2cb3eaa65d12c9e (patch)
treeeb69efbde92920a881c55079b88d19029bd44c01
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-73b3e0541044817a07629cfae2cb3eaa65d12c9e.tar
nvim-lspconfig-73b3e0541044817a07629cfae2cb3eaa65d12c9e.tar.gz
nvim-lspconfig-73b3e0541044817a07629cfae2cb3eaa65d12c9e.tar.bz2
nvim-lspconfig-73b3e0541044817a07629cfae2cb3eaa65d12c9e.tar.lz
nvim-lspconfig-73b3e0541044817a07629cfae2cb3eaa65d12c9e.tar.xz
nvim-lspconfig-73b3e0541044817a07629cfae2cb3eaa65d12c9e.tar.zst
nvim-lspconfig-73b3e0541044817a07629cfae2cb3eaa65d12c9e.zip
fix(metals): build.gradle.kts root marker #4353
-rw-r--r--lsp/metals.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/metals.lua b/lsp/metals.lua
index c76ce649..a9eaaa93 100644
--- a/lsp/metals.lua
+++ b/lsp/metals.lua
@@ -16,7 +16,7 @@
return {
cmd = { 'metals' },
filetypes = { 'scala' },
- root_markers = { 'build.sbt', 'build.sc', 'build.gradle', 'pom.xml' },
+ root_markers = { 'build.sbt', 'build.sc', { 'build.gradle', 'build.gradle.kts' }, 'pom.xml' },
init_options = {
statusBarProvider = 'show-message',
isHttpEnabled = true,