Understanding Neovim #7 - Language Server Protocol

  Рет қаралды 12,496

Vhyrro

Vhyrro

Күн бұрын

Пікірлер: 89
@vhyrro
@vhyrro 9 ай бұрын
I tried my best making the explanations as clear as possible on this one, let me know what you thought! As always lots of content to come :) edit: also no the flickering at the intro screen is not intentional 😬
@LillyAnarkitty
@LillyAnarkitty 9 ай бұрын
Also seems to be some audio skipping
@Web-Dev-Codi
@Web-Dev-Codi 9 ай бұрын
The information provided outweighs the "imperfections". I just started using Neovim since I want to get better at typing and shortcuts for productivity. VScode has too much going on visually, so I decided to switch to nvim. With that said I appreciate you taking the time to bestow us with your knowledge. You're making the transition less painful and I have learned a lot thanks to you. Also, don't stress about the little things. Knowledge is power. 😎👍🔥
@jeffreyhymas6803
@jeffreyhymas6803 8 ай бұрын
Dude is out here making the best neovim series on KZbin, not to mention its also one of the best coding related tutorials I have ever seen in general, and he's still apologizing for minor glitches.The whole video could have looked like it was played back on a busted ass CRT TV from the 80s and I still would have enjoyed the hell out of it. Keep it up dude, this series is incredible. Also, I seriously think you should keep the little video glitch during the intro. Goes with the general vibe provided by the music really well.
@menash134
@menash134 3 ай бұрын
Hi, I am trying to use clang server in nvim. It is a big project with multiple repository and multiple compilation switches. I want to say to the clangd to ignore all the compilation switches and just concentrate on diagnostics. how can i do it? what option can i set in nvim or in clangd?
@iconoclastsc2
@iconoclastsc2 7 ай бұрын
Showing how it's done without the plugins so that we can understand what the plugins actually do is the correct approach. Well done. More of this, please.
@AlleBalle54
@AlleBalle54 9 ай бұрын
this is perfect, I much more prefer the "starting from scratch" approach in the beginning, as opposed to some other tutorials that say "just install this wrapper plugin for the plugin x etc..." and then being left clueless about everything. thank you
@premmodha
@premmodha 8 ай бұрын
can't wait for part 8
@HanifCarroll
@HanifCarroll Күн бұрын
You've done a great job explaining this topic. I feel like I actually understand what's going on now. Thank you!
@muizzyranking
@muizzyranking 9 ай бұрын
I think its safe to say this is the best neovim series yet.
@henrigriessel3362
@henrigriessel3362 7 ай бұрын
Love the content this is the bets tutorials I have found and you will be the reason I shift permantly into neovim
@ottopux
@ottopux 7 ай бұрын
This entire series has been simply excellent, thank you!!
@Sarm8
@Sarm8 8 ай бұрын
You're bottom up approach is so appreciated my friend.
@NoLoginIdea
@NoLoginIdea 8 ай бұрын
Those tutorials are truly perfect.
@pankajagarwal8458
@pankajagarwal8458 7 ай бұрын
Great work! I watched all 7 episodes in one sitting. Looking forward to further episodes.
@brick4667
@brick4667 8 ай бұрын
Popped a stiffy when I saw that LSP message pop up. Please keep pumping these out man. I've never felt so empowered with configuring NVIM. I've been a distro-hopper with nvim and never really understood what I was doing when modifying my configs. This is a game changer.
@michamieluch9012
@michamieluch9012 Ай бұрын
Mate, you have no idea how grateful I am for this video (and the entire series). I've been using plain Vim/NeoVim for years, but I've only recently discovered how vast the ecosystem is nowadays, so I'm trying to make a full switch from JetBrains to NeoVim. I tried LazyVim and NvChad, but they're quite advanced, and I couldn't figure out some of the plugins, set up, etc. I have a MUCH better understanding of their configurations now, and I managed to set up LSP for Golang and TypeScript myself, thanks to this video! Many thanks!
@1..1..1..1H
@1..1..1..1H 5 ай бұрын
I don't know what to say, I am in love with this series, I watched each one 3 or 4 times.
@sijink719
@sijink719 9 ай бұрын
clean video as always 21:23 glad to see that I'm not the only person who keeps messing up trying to paste stuff into an empty set of quotes :P
@tiagodejesus456
@tiagodejesus456 8 ай бұрын
Great video! Looking forward to the following in your series!
@starmountpictures
@starmountpictures 5 ай бұрын
This is valuable content. I hope you continue to make neovim / lua tutorials. Subscribed and liked!
@jamieroyer8796
@jamieroyer8796 9 ай бұрын
These are the best videos on Neovim. It is great the way you explain everything and make it easy to follow along. I can pause the video and try out everything as you describe. You mentioned that opening help shows treesitter errors and running TSUpdate fixes them. I had this problem and fixed it by adding "luadoc" to the "ensure_installed" list of "nvim-treesitter".
@Zippythrone
@Zippythrone 6 ай бұрын
This is hands down the best nvim tutorial so far!
@Petsod
@Petsod 7 ай бұрын
Finally court up with the series! Sublime guide. One thing i wondering, how do you have auto-complete i nvim? If have not missing anything it this guide where you set it up? Kind looks like you have the same type of auto-complete in bash too. (running EndeavourOS (arch)). Could you try to remember the launch that wonderful program that displays what you type? (Screencast?)
@poweruser64
@poweruser64 7 ай бұрын
I thought I understood LSP, but this went much lower-level than my understanding. Thanks for going so in-depth with this!
@sp3ctum
@sp3ctum 8 ай бұрын
This is really good. I enjoyed this a lot, thanks for making it! You have a gift for communication and education. Hope you enjoy using it in your work + life. 😄👍🏻
@AlaaMahran1
@AlaaMahran1 8 ай бұрын
Amazing work, finally a tutorial that goes through the deep details Looking forward for the rest of the series
@mprasanth18
@mprasanth18 7 ай бұрын
I am waiting for the next video
@paterson.
@paterson. 9 ай бұрын
This was so helpful, as i found it difficult to understand how lsps working, though i set it up somehow 😅. Looking forward to the next videos, thank you for creating such an in depth explanation of all things neovim!
@yuxiang4218
@yuxiang4218 6 ай бұрын
the best neovim series
@mars_0008
@mars_0008 9 ай бұрын
This is good. Explaining a very abstract concept in a very clear way
@iam_spaceCabbage
@iam_spaceCabbage 9 ай бұрын
God tier KZbin material, keep it up!
@pierreantoine-cheron
@pierreantoine-cheron 7 ай бұрын
Great stuff Can't wait for the next episode!
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 9 ай бұрын
absolutely wonderful, thank you for all the efforts :)
@lv8pv
@lv8pv 7 ай бұрын
Really really good series. This method of learning is exactly how I learn best. Thank you so much. Hope you keep adding to this series.
@saabirmohamed636
@saabirmohamed636 7 ай бұрын
Excellent content. much needed! Im looking forward to you next videos!
@d4rthvad3y
@d4rthvad3y 7 ай бұрын
Very insightful video. Thanks for making it! I have finally settled down into a working setup that I really like, even getting jdtls setup and working, but wanted to see more info about how the lsp actually worked.
@mal0412
@mal0412 9 ай бұрын
what a great video! you re going places
@arcuscerebellumus8797
@arcuscerebellumus8797 8 ай бұрын
Keep it up, dude! These are awesome!
@Denis-wf4bl
@Denis-wf4bl 9 ай бұрын
Amazing video! I really like to learn the vim api and you can explain it so well, thanks a lot!
@eppi6328
@eppi6328 9 ай бұрын
wonderful just what I wanted, and just when I needed it the most
@johnsvensson3002
@johnsvensson3002 6 ай бұрын
Great series. Just golden!
@oleph
@oleph 9 ай бұрын
Thanks for this series man! It's really helped me out understanding nvim terms and setting up my own config and came at the perfect time.
@zxcv4306
@zxcv4306 9 ай бұрын
I finally learned how to pronounce clangd and also how LSP works within Neovim.
@jesperlindqvist3318
@jesperlindqvist3318 7 ай бұрын
We need more!!! :)
@mazenmohsen3423
@mazenmohsen3423 9 ай бұрын
Time to enjoy the weekend! Thanks a lot!
@alexanderk4147
@alexanderk4147 8 ай бұрын
I really like your approach to introducing new concepts with a lot of depth. Do you think you could talk a bit about how/why jdtls (Java lsp) is different and trickier to set up? Possibly how to set up jdtls? Thank you for explaining all this to us!
@bqrkhn
@bqrkhn 9 ай бұрын
Thank you so much for this series
@martinarce8138
@martinarce8138 9 ай бұрын
This video was awesome!! Thank you so much teacher!
@lutzzdias
@lutzzdias 9 ай бұрын
Would love to see one episode setting up the events for loading each plugin, which is available with lazy's "event" within the plugin definition table.
@crawron
@crawron 9 ай бұрын
thank you for these videos! i hopped onto neovim because of this series but this lsp video wasn't released yet. i wondered if i could set it up on my own and i figured it out! using the lsp config plugin and mason as well. this video is still very useful though, i wasn't sure how things worked under the hood
@pierreantoine-cheron
@pierreantoine-cheron 7 ай бұрын
Great work, thank you so much!
@bagfleet
@bagfleet 9 ай бұрын
Fantastic video!
@bqrkhn
@bqrkhn 9 ай бұрын
Thanks!
@farzadmf
@farzadmf 9 ай бұрын
GREAT video!!! Are you planning to maybe cover lspzero as well? (just curious)
@brycethompson
@brycethompson 3 ай бұрын
I finally get it! Thank you!
@clearfield77
@clearfield77 9 ай бұрын
Brilliant!
@samuelborn9004
@samuelborn9004 9 ай бұрын
Enjoy this!
@bentomo
@bentomo 2 ай бұрын
Other people are saying it but I'm going to echo how good it is that you're doing this from scratch and not writing another guide that will go out of date in a year when the next package manager replaces lazy.
@ribbalhussain4616
@ribbalhussain4616 8 ай бұрын
@vhyrro I love your series, but i've been trying to find it forever, but what colorscheme do you use on your terminal? (Not neovim) Looks really good!!
@buwatermelon
@buwatermelon 9 ай бұрын
Finally!
@vitalydushkin
@vitalydushkin 8 ай бұрын
Thanks! You're doing a fantastic job explaining all those concepts. Could you please for the next video make a bottom margin of 100px or something so if one pauses a video - the command portion of the editor is visible. You see I'm trying to follow along and occasionally pause the video to do the same action, but youtube's video controls cover commands just right so it's impossible to see what's behind. I have to rewind like 10 times for each command to be able memorize the command well enough to be able to type it in.
@iconoclastsc2
@iconoclastsc2 7 ай бұрын
Get the "Tweaks for KZbin" browser extension.
@kugurerdem
@kugurerdem 4 ай бұрын
Crystal clear.
@Linuxdirk
@Linuxdirk 8 ай бұрын
19:18 ... I actually think this is a a far more simple and easy and low-footprint approach than installing any of the various available LSP helpers. Oh, and I'd love to actually run the LSP server on an actual server and Neovim just connects to that server. So I don't need to configure the server on every client I use but only need to set up the LSP client.
@5thbatman
@5thbatman 8 ай бұрын
Really appreciate if you can make a series on how to develop a plugin for neovim
@nicholassemmens7865
@nicholassemmens7865 9 ай бұрын
great content. I was wondering you how you would set it up to take a look at your current working directory and have it parse your custom source files since everything is included in a Makefile that im using to build my project. I keep getting errors for includes and typical type definitions. Not really sure how to fix that side of things up. Any resources towards that would be appreciated too.
@fhvirus3221
@fhvirus3221 9 ай бұрын
I noticed that you've switched between v0.9.4 and nightly versions of Neovim for the past few epidsodes. Is there any particular reason for swtiching versions?
@areotwister
@areotwister 9 ай бұрын
Thanks a lot!
@8ack2Lobby
@8ack2Lobby 9 ай бұрын
I want to share something from my watch list with you, I hope it will help. Building Language Server from Scratch kzbin.info/www/bejne/jqCYh4uKh9R_bLM
@sayanta01
@sayanta01 3 ай бұрын
thanks you so much man
@1..1..1..1H
@1..1..1..1H 5 ай бұрын
for any windows user, you need to put the bin path for Clangd in your environment variables so the terminal can see it.
@Worldtruth099
@Worldtruth099 9 ай бұрын
I'm trying to setup latex for nvim but nothing work to make cmp work well on .tex files any suggestions
@sauravprashar
@sauravprashar 8 ай бұрын
Please show how to configure compiler.nvim and nvim-dap.
@nahbruhwhat
@nahbruhwhat Ай бұрын
Wow wow. What's going on in the browser? What plugin is that? Tab placement is from the future.
@michamieluch9012
@michamieluch9012 Ай бұрын
Thanks
@secondculs
@secondculs 8 ай бұрын
Wth is this? Is this seasonal anime? It end in a clifhanger... hahaha Anyway, I'm waiting for your next video to setup the LSP using mason or something like that. For now I'm gonna try to configure it myself
@ArisTheInquring
@ArisTheInquring 8 ай бұрын
i installed clangd in neovim but now when i edit a c file i get errors for the header files when i have the headers on my machine and the code compiles fine
@rezhaadriantanuharja3389
@rezhaadriantanuharja3389 13 күн бұрын
You need to have the compile commands JSON file in the source directory.
@ArisTheInquring
@ArisTheInquring 13 күн бұрын
@@rezhaadriantanuharja3389 This is from when I was a little more ignorant on lsp so I changed and learned about lsp and it fixed the issue particularly through mason lsp config.
@Roxaro
@Roxaro Ай бұрын
bro this is what I was looking everyone says install this and this and never say why we even should do it
@abombfuenmayor
@abombfuenmayor 9 ай бұрын
Would it be accurate to say that treesitter understands the semantics of a given language and can therefore catch parsing errors while an lsp needs to understand some level of the implementation details of a given language to for example, catch a runtime error before it happens?
@vhyrro
@vhyrro 9 ай бұрын
Yeah you're on the right track, although the most accurate way of saying it is that treesitter has a full understanding of the syntax of a given language whereas an LSP has full understanding of the semantics of a given language. Syntax tends to overlap with semantics in some programming languages but this is still the most "correct" way of saying it :)
@abombfuenmayor
@abombfuenmayor 9 ай бұрын
@@vhyrro Thank you! I think I may just need to clarify the exact definitions of the words syntax and semantics but I think I understand. This is a VERY cool video and is clarifying a lot for me. Thanks again! For sure going to donate.
@abombfuenmayor
@abombfuenmayor 9 ай бұрын
Thanks!
@tdimitrov
@tdimitrov 8 ай бұрын
Thanks!
@faruzzy
@faruzzy 29 күн бұрын
Thanks!
Understanding Neovim #8 - Mason
20:31
Vhyrro
Рет қаралды 8 М.
Understanding Neovim #1 - Installation
20:03
Vhyrro
Рет қаралды 23 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,9 МЛН
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 710 М.
Это было очень близко...
00:10
Аришнев
Рет қаралды 6 МЛН
Understanding Neovim #2 - Plugins, Colorschemes
37:24
Vhyrro
Рет қаралды 15 М.
I Spent 15 Years Using Linux And Here's What Happened
8:38
Linux Dev Labs
Рет қаралды 3,9 М.
Understanding Neovim #6 - Taming the vim.opt Madness
16:46
I Was DEFINITELY Using The Wrong Terminal Shell
9:59
DevOps Toolbox
Рет қаралды 46 М.
Nix explained from the ground up
23:39
Surma
Рет қаралды 51 М.
Understanding Neovim #4 - Treesitter
16:59
Vhyrro
Рет қаралды 17 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,9 МЛН