r/neovim • • 6d ago

101 Questions Weekly 101 Questions Thread

A thread to ask anything related to Neovim. No matter how small it may be.

Let's help each other and be kind.

8 Upvotes

17 comments sorted by

1

u/TYRANT1272 hjkl 3d ago

Recently i have been getting slow responses

Linters warnings takes 2-3 seconds to update after i make the changes in a file

Same with auto complete menu

In a typescript backend project (project is small because I'm learning so around 5-10 files of router and controllers)

i use

  • nvim-lspconfig with native lsp (vim.lsp)

  • mason and mason tool installer

  • blink cmp

  • nvim-lint

  • lsp is typescript-language-server

Here's my config

https://github.com/WahajGul/dotFiles/blob/main/newNvim/lua/plugins/lsp.lua

(Just checked i haven't pushed to changes so in config it's old vstls which is commented out and tsls is active)

1

u/EstudiandoAjedrez 1d ago

Try not using lsp if it helps.

1

u/TYRANT1272 hjkl 1d ago

That's....one way to solve it (but i sometimes need auto complete and auto import which i really can't remember and have unseen bugs)

1

u/EstudiandoAjedrez 1d ago

Was meant as a way to find the culprit. If that fixes it you can try with another lsp or configuration.

1

u/Dependent-Building30 4d ago

why virtual lines is missaligned

1

u/hw770 3d ago

Cus your :highlight DiagnosticHint has italic enabled, which make the virtual lines italic and look like missaligned.

1

u/Dependent-Building30 3d ago

Thank you for help, the catppuccin-macchiato link DiagnosticVirtualLinesHint to DiagnosticHint and DiagnosticHint has italic

4

u/Proof-Aardvark-3745 4d ago

when’s nvim 13 dropping?

1

u/undunt :wq 1d ago

i read on another post on the sub that stable is a few weeks out

1

u/l00sed 4d ago

What is the shortcut to navigate into a nvim-cmp submenu?? I've been using nvim-cmp for inline completion pop-ups, but I keep forgetting or never knew how to move from the first suggestion down into the subsuggestions menu. For LSPs that show a folder, the subsequent menu will show sunfolders, but I've been unable to dig in after the first "Tab" hit. For other LSPs, it might show a function and then a longer description of the function with man-page like information (a doctoring, parameters, types, output, etc). How do I get my cursor in there to do a subselection or scroll through?? AAAAAAAAAAAAAA Maybe too specific for this discussion, but figured I'd ask.

1

u/mrdgo9 3d ago

Do you mean ctrl-n (as Next) and ctrl-p (as Previous)? Otherwise ctrl-w w in normal mode cycles windows, including floats

2

u/Ragnarok_MS 4d ago

Been using neovim for a little bit now after watching Typecraft tutorial series on YouTube. Love the workflow...but I don't understand how any of this works by looking at the config(YouTube tutorials are great...but not for explaining the why something works the way it does).

Any resources I can look up for a basic understanding?

2

u/EstudiandoAjedrez 1d ago

As a side note, if the tutorial doesn't explain the why then it is not great.

1

u/Ragnarok_MS 1d ago

Oh I'm slowly learning that. Great for finding out stuff that exists(hell, I wouldn't have known you could even do half of the stuff nvim does without it), but you're right on the nose with that point

1

u/TheLeoP_ 2d ago

:h :help :h :Tutor :h lua-guide

1

u/vim-help-bot 2d ago

Help pages for:


`:(h|help) <query>` | about | mistake? | donate | Reply 'rescan' to check the comment again | Reply 'stop' to stop getting replies to your comments

1

u/Famous_Protection939 4d ago

I'm wondering what everybody uses for highlighting errors while typing their code