pmizio / typescript-tools.nvim

⚡ TypeScript integration NeoVim deserves ⚡
MIT License
1.26k stars 36 forks source link

It uses too much ram when opening JS files #256

Closed mrlectus closed 2 weeks ago

mrlectus commented 3 months ago

This only happens when i open Javascript files and not typescript. This is a project with a single Javascript file and no node_module, so why eating so much Ram? screenshot_2024-03-31T17:24:38

This is my config

require("typescript-tools").setup({
  settings = {
    code_lens = "all",
  },
})
gmr458 commented 2 months ago

The README already tell you that CodeLens is a experimental feature, even in VSCode is experimental, because it might hit performance of server.

mrlectus commented 2 months ago

The README already tell you that CodeLens is a experimental feature, even in VSCode is experimental, because it might hit performance of server.

That was not the problem. The problem was that i didn't include a jsconfig file