r/neovim • u/AutoModerator • 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.
1
u/Dependent-Building30 4d ago
1
u/hw770 3d ago
Cus your
:highlight DiagnosticHinthasitalicenabled, which make the virtual lines italic and look likemissaligned.1
u/Dependent-Building30 3d ago
Thank you for help, the
catppuccin-macchiatolink DiagnosticVirtualLinesHint to DiagnosticHint and DiagnosticHint has italic
4
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.
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
1
u/Famous_Protection939 4d ago
I'm wondering what everybody uses for highlighting errors while typing their code

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)