Configure Emacs lsp-mode

lsp-mode can convert emacs to a full-fledged IDE.
It works almost fine with default settings.

But if you want to tune further, variables by each language can be utilized.

Deno

deno lsp can be configured through tsconfig.json. For example Javascript project - not Typescript - doesn’t need noImplicitAny check:

{
  "compilerOptions": {
    "noImplicitAny": false
  }
}

lsp-clients-deno-config can change tsconfig.json path:

(setq lsp-clients-deno-config (expand-file-name "~/.tsconfig.json"))

After settings, you can confirm its startup behavior with deno-ls::stderr buffer.

⁋ Jan 12, 2023↻ Sep 12, 2024
中馬崇尋
Chuma Takahiro