Skip to content

Commit 78174f3

Browse files
committed
Revert "add deno.lock root marker #4051"
Reverts 33e318a (except for svelte). fix #4074 close #4076
1 parent d987911 commit 78174f3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lsp/biome.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ return {
4444
-- As stated in the documentation above, this LSP supports monorepos and simple projects.
4545
-- We select then from the project root, which is identified by the presence of a package
4646
-- manager lock file.
47-
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock', 'deno.lock' }
47+
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' }
4848
-- Give the root markers equal priority by wrapping them in a table
4949
root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } }
5050
or vim.list_extend(root_markers, { '.git' })

lsp/eslint.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ return {
9191
-- As stated in the documentation above, this LSP supports monorepos and simple projects.
9292
-- We select then from the project root, which is identified by the presence of a package
9393
-- manager lock file.
94-
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock', 'deno.lock' }
94+
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' }
9595
-- Give the root markers equal priority by wrapping them in a table
9696
root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } }
9797
or vim.list_extend(root_markers, { '.git' })

lsp/ts_ls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ return {
5858
-- As stated in the documentation above, this LSP supports monorepos and simple projects.
5959
-- We select then from the project root, which is identified by the presence of a package
6060
-- manager lock file.
61-
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock', 'deno.lock' }
61+
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' }
6262
-- Give the root markers equal priority by wrapping them in a table
6363
root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } }
6464
or vim.list_extend(root_markers, { '.git' })

lsp/tsgo.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ return {
3030
-- As stated in the documentation above, this LSP supports monorepos and simple projects.
3131
-- We select then from the project root, which is identified by the presence of a package
3232
-- manager lock file.
33-
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock', 'deno.lock' }
33+
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' }
3434
-- Give the root markers equal priority by wrapping them in a table
3535
root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } }
3636
or vim.list_extend(root_markers, { '.git' })

lsp/vtsls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ return {
8484
-- As stated in the documentation above, this LSP supports monorepos and simple projects.
8585
-- We select then from the project root, which is identified by the presence of a package
8686
-- manager lock file.
87-
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock', 'deno.lock' }
87+
local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' }
8888
-- Give the root markers equal priority by wrapping them in a table
8989
root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } }
9090
or vim.list_extend(root_markers, { '.git' })

0 commit comments

Comments
 (0)