Skip to content

ts_ls starting in deno projects again #4129

@xubaiwang

Description

@xubaiwang

Description

Again ts_ls is starting in deno projects.

This issue was introduced in ec54d14, which makes cwd a fallback for project_root.

local project_root = vim.fs.root(bufnr, root_markers) or vim.fn.getcwd()

Anyway, cwd is too aggressive an options for root_dir, as it makes every directory a valid workspace, and will affect all other JavaScript environment.

Such feature should alternatively be implemented with workspace_required.

Please revert these changes. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions