ThePrimeagen / ThePrimeagen/init.lua

Lsp.stop stop tsserver end eslint

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
4k
Forks
680
PR merge metrics
No merged PRs in 30d

Description

Hello everyone,
I have followed the video "0 to LSP : Neovim RC From Scratch" to setup my rust light saber (Thank you so much ThePrimeagen).
However, the config is causing tsserver and eslint to stop. If anyone have the isssue with tsserver and eslint got detached everytime you navigate with telescope or open new buffer, please comment those line. This is a temporary fix because I am not experience with neovim config. If you have a proper solution, please point out for me

  if client.name == "eslint" then
      vim.cmd.LspStop('eslint')
      return
  end

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue while navigating with Telescope or opening a new buffer, then inspect the Lua LSP configuration around the shown client.name == "eslint" conditional. Confirm whether tsserver and eslint detach, and consider the issue done when both remain attached during those actions without relying on the temporary LspStop workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.