fix: deno root marker containing tsconfig.json

This commit is contained in:
Snoweuph 2026-04-16 19:02:07 +02:00
commit 03b01701c3
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
3 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,7 @@ in {
vim.lsp.servers.typescript-go = {
enable = true;
cmd = [(getExe pkgs.typescript-go) "--lsp" "--stdio"];
root_markers = [".git" "package.json"];
root_markers = [".git" "tsconfig.json" "package.json"];
};
};
}

View file

@ -19,7 +19,7 @@ in {
vim.lsp.servers.typescript-language-server = {
enable = true;
cmd = [(getExe pkgs.typescript-language-server) "--stdio"];
root_markers = [".git" "package.json"];
root_markers = [".git" "tsconfig.json" "package.json"];
init_options = {hostInfo = "neovim";};
handlers = {
# handle rename request for certain code actions like extracting functions / types