Up And Running With Neovim + LSP

  Рет қаралды 46,554

Jake Wiesler

Jake Wiesler

Күн бұрын

Пікірлер: 93
@jameswinston5369
@jameswinston5369 2 жыл бұрын
This was an excellent, excellent tutorial. Pace of instruction, tonality, organization and presentation of information were just stellar. Crystal clear instruction. Thank you for making this!! Looking forward to the next.
@bondiku625
@bondiku625 10 ай бұрын
Thanks, man. Previously spent countless hours trying to figure out how to make LSP work for me. Stumbled onto you vid. What a massive help!! thanks again.
@Russel4973
@Russel4973 2 жыл бұрын
One of the best explanations of neovim + LSP yet!
@DavidSoles
@DavidSoles 3 жыл бұрын
Thank you for taking the time to explain very well how to use LSP configuration with Lua. I've being using CoC autocompletion with Java, and it's working fine so far. Not only that, but I will try to set up Java LSP with Lua after watching your video.
@jakewies
@jakewies 3 жыл бұрын
Not a problem David, let me know how you get on with your LSP setup!
@tridibbiswas3361
@tridibbiswas3361 3 жыл бұрын
Thank you for the video. This is the first which kind of explains the different lines of code for setting up the lspconfig as mentioned in the github page, which is so helpful for a layman like who me was till now blindly copying the lines from different sources to make things work without much understanding.
@jakewies
@jakewies 3 жыл бұрын
Not a problem! I feel the same way. Can be tough to gather everything you need to know from GitHub readmes.
@idohirsh2226
@idohirsh2226 3 жыл бұрын
I have been binge watching the "Build A Portable Development Environment" and the Neovim serieses, and I just wanted to say WOW! You've halped me alot in learning nvim, and inspired me to also make my development environment protable. So thank you, and I'm waiting for the next nvim video!
@jakewies
@jakewies 3 жыл бұрын
Hey Ido, I'm glad I could help you out! This means a lot to me :D
@sibouras792
@sibouras792 3 жыл бұрын
by far the best explanation how to setup lsp, thanks alot
@jakewies
@jakewies 3 жыл бұрын
Thank you! Glad you found it useful.
@gone357
@gone357 2 жыл бұрын
This series is awesome, I need more videos from you man
@andychess
@andychess 2 жыл бұрын
Thank you for a great video. I have been struggling for a couple of weeks to figure the root directory out. You made it seem so simple:-).😀
@rbereziuk
@rbereziuk 3 жыл бұрын
Very simple and detailed explanation about setup. Simple and clear. Just BOMB )
@jakewies
@jakewies 3 жыл бұрын
Thanks for the kind words Roman :D
@gabriellara7456
@gabriellara7456 2 жыл бұрын
aw man I really wanted the next video you referenced at the end !!
@chillydoog
@chillydoog 2 жыл бұрын
I wish I found this months ago. Im just happy I landed on your page! SUBBD
@mubba1992
@mubba1992 3 жыл бұрын
Absolutely brilliant. I'm now able to understand how this thing work. Thank You.
@jakewies
@jakewies 3 жыл бұрын
You're welcome Abdul, glad you enjoyed!
@Slate245Ivanovo
@Slate245Ivanovo 3 жыл бұрын
Great vid! Although i see no advantage for me to use vim/nvim, i really appreciate your portable dev env videos and how neatly you present information. Great content!
@jakewies
@jakewies 3 жыл бұрын
Glad you enjoyed! For most people I'd say there isn't much of an advantage. I just like to tinker around :)
@paulzupan3732
@paulzupan3732 Жыл бұрын
There has never been a better time to hop on the native LSP bandwagon. Neovim 0.9.0 officially supports semantic highlighting, granted your server supports it, but most do
@deepakramani05
@deepakramani05 3 жыл бұрын
Fantastic. Very informative and gives just enough info to get started. Thanks Jake.
@jakewies
@jakewies 3 жыл бұрын
Hey thanks for the kind words Deepak!
@adriancostin9138
@adriancostin9138 3 жыл бұрын
this video is pure gold. thank you
@jakewies
@jakewies 3 жыл бұрын
Haha glad you enjoyed it Adrian :D
@carloskvasir
@carloskvasir 3 жыл бұрын
Hey I found post in your blog and is helped my slot. Thanks man
@jakewies
@jakewies 3 жыл бұрын
No problem Carlos glad to have you here :D
@bagfleet
@bagfleet 2 жыл бұрын
This tutorial was exactly what I needed!
@ZuhaibZakaria
@ZuhaibZakaria 3 жыл бұрын
Thank you. This was a great video and I am looking forward to the next one.
@jakewies
@jakewies 3 жыл бұрын
Awesome! Happy it helped. Next one will be out soon! LSP Autocompletion
@aryklein
@aryklein 2 жыл бұрын
@@jakewies Thanks so much for sharing this video. LSP autocompletion would be awesome
@harishkalva6237
@harishkalva6237 3 жыл бұрын
Thats a noice explanation for lspconfig
@jakewies
@jakewies 3 жыл бұрын
Glad you found it useful!
@worldgall5603
@worldgall5603 2 жыл бұрын
Thank you, it is very helpful !
@davidalvarezgarcia9794
@davidalvarezgarcia9794 2 жыл бұрын
Thaaaaaanks!! I was missing that root issue you described. Save me so much time, cant thank you enough
@__agou-ops2691
@__agou-ops2691 3 жыл бұрын
Great vid, this is what I want!!!
@jakewies
@jakewies 3 жыл бұрын
Awesome!
@gorudonu
@gorudonu 3 жыл бұрын
Thanks for the video, it's really helpful. I've been using CoC before and had problems with Lua but you motivated me to try again. I think there's a plugin which downloads those language servers automatically if you want. Btw, will you also make a video about debugging in vim?
@jakewies
@jakewies 3 жыл бұрын
I think i've heard of that plugin as well. I think it's nvim-lsp-installer. As for debugging in vim, I have yet to explore that realm. Have you?
@edd338
@edd338 2 жыл бұрын
Thanks for the great video and the blog post. I find your approach is very original and clear. Looking forward to the auto-completion video. Also, are there any benefits to having tags if you have an LSP configuration setup like this? If you ever produce a video on tags, I'd love to see it.
@georgianstan8300
@georgianstan8300 2 жыл бұрын
Hi Jake! Since Node version is managed by nvm, is it required to reinstall the packages "typescript typescript-language-server" if the Node version is changed?
@KuzyoYaroslav
@KuzyoYaroslav 2 жыл бұрын
Also interested in answer to this question, noticed that after switching node version, server supports missing.
@karthickb1973
@karthickb1973 2 жыл бұрын
very nice tutorial Jake
@jakewies
@jakewies 2 жыл бұрын
Thank you! Glad it helped 😃
@sergedmytrienko5605
@sergedmytrienko5605 2 жыл бұрын
Thank you for all
@paulliu6057
@paulliu6057 2 жыл бұрын
Very good video! Thanks!
@alexanderradchykov8955
@alexanderradchykov8955 3 жыл бұрын
Super useful, thanks!
@jakewies
@jakewies 3 жыл бұрын
You're most welcome!
@mheetu3909
@mheetu3909 2 жыл бұрын
A+ Any update on when you might get around to doing the "next video"? Also, in your Neovim playlist, the First 15 Minutes video is listed 2nd instead of 1st... was a little confusing.
@nicorithner786
@nicorithner786 3 жыл бұрын
Thank you for these tutorials Jake. I am not getting the suggestions you get in your ts file. I tried in an existing .js file and it's autostarting and when I run LspInfo it show that tsserver is there. What do you think could be causing this problem? I completed the video and some features are working but for example the hover is not working. As a sanity check I recreated the .ts file you used as an example and I get: 'man.vim: no manual entry for props' I apologies for these many questions. I love your teaching style and I look forward to more videos. Thank you!
@jakewies
@jakewies 3 жыл бұрын
Hey Nico I'm glad you enjoyed! So I would start from square one to see where you may have missed a step: 1) install nvim-lspconfig 2) add a bare bones config for tsserver and make sure it's being required properly (this is lsp.lua) 3) confirm that tsserver is attaching to your buffer in a .ts file by using :LspInfo If those are correct, then you can go one step further by making sure the on_attach function is being properly set and just using 1 remap, for instance `gd`. If that works, go ahead and add another and keep testing. This is how I would go about debugging. Always take it slow with configuration because if you add multiple settings before checking you may not know where you went wrong :) and please check back in when you try!
@nicorithner786
@nicorithner786 3 жыл бұрын
​@@jakewies Thank you for the reply. I tried that. I had a good workflow with coc and my init.vim looked almost like my .vimrc. I learned a lot from this video and I would like to get everything set up before I go back to work after the holidays so I can use it in that code base. I am work mostly in javascript and react for my personal projects and at work is the same plus ruby on rails. I use markdown a lot. With coc I had snippets to complete common things such as if statements, functions etc. With the new set up I am not getting that. I also would need something for css, and html. Is this possible with lsp and cmp? Thank you for any feedback. This discussion seems more suitable for stackoverflow lol. I really appreciate the tutorial and any farther advise!
@nicorithner786
@nicorithner786 3 жыл бұрын
I followed your advice and started over. This time I installed cmp with luasnipets right away and now the snippets work. I look forward to more tutorials. Merry Christmas Jake 🎄🌟
@syatos
@syatos 3 жыл бұрын
great video very informative, thank you
@jakewies
@jakewies 3 жыл бұрын
No problem!
@nex7268
@nex7268 2 жыл бұрын
EXCELLENT EXPLAINATION !!!!!!!!!!!!!!!!!!!!!!!!!!
@nex7268
@nex7268 2 жыл бұрын
what broswer r u using? that thems seems extreamly cool lol
@enterusername7746
@enterusername7746 2 жыл бұрын
Is it possible to configure which warnings should be active and which not?
@farzadmf
@farzadmf 3 жыл бұрын
Very nice video, thanks
@jakewies
@jakewies 3 жыл бұрын
You're very welcome!
@MrNoBSgiven
@MrNoBSgiven 3 жыл бұрын
There is one thing that it is ooutting off for newbees of neovim (and vim) like myself - all the manual steps of config files editing needed for these editors. Is it possiblw to script all these steps with a shell script, copy the configuration files and have the vim environment recreated inna mater of 1-2 minutes and not hours? With Ansible I can recreate web, docker, etc servers literally in 2-5 minutes with one command. It seems that vim and zsh are very "special" for linux.
@jakewies
@jakewies 3 жыл бұрын
Yes it's an obstacle for sure. Takes a lot of time to digest and understand all the moving parts. When you put it up against something like VSCode it's hard to justify. As for the shell scripting. I'm not sure what you mean? What would you be scripting out? The installation of plugins / language servers?
@wijaksanapanji
@wijaksanapanji 3 жыл бұрын
after you made your config, you can just clone/copy paste the config to use it in another vim/nvim. example: you can just clone jake config to try his config. also there are CosmicNvim, LunarNvim, NvCode, SpaceVim, etc that is nvim with a lot of thing already confiigured
@ThanhTran27507
@ThanhTran27507 3 жыл бұрын
tks you so much. Nice video!
@jakewies
@jakewies 3 жыл бұрын
You're very welcome!
@PhanTanThangTH
@PhanTanThangTH 2 жыл бұрын
Thanks a lot, keep it up :)
@richsphere
@richsphere 3 жыл бұрын
Thanx a lot! But can you tell me pls how to go back to the file after "go to declaration" if this another file?
@Mankepanke
@Mankepanke 3 жыл бұрын
Usually C-t works to pop tag stack, but if that does not work I suggest C-i and C-o as a forwards/backwards combo like in your web browser.
@richsphere
@richsphere 3 жыл бұрын
@@Mankepanke awesome! thank you!
@hedrazez7333
@hedrazez7333 2 жыл бұрын
When you try the codec, it does not work. Please add words of understanding
@hedrazez7333
@hedrazez7333 2 жыл бұрын
كيف تنفيذ العمل البرمجه واختبار العمل كنت ارجو ان تنقسم النافذه واثناء العمل يقوم باخراج النتائج واختبار الكود في نافذه الثانيه ولكن وجد صعوبه في اختبار الاكواد البرمجيه
@ericwong8030
@ericwong8030 2 жыл бұрын
Thanks for your video
@safaobuz
@safaobuz Жыл бұрын
Please more! and maybe transition to vimscript series as well!
@MarcoGuardigli00
@MarcoGuardigli00 Жыл бұрын
Thank you Jake
@CyperN077
@CyperN077 2 жыл бұрын
Can this work for 7 now?
@onetwothree123-
@onetwothree123- 2 жыл бұрын
Thanks Jake 👍
@MiguelAngel-mf3yu
@MiguelAngel-mf3yu 2 жыл бұрын
please tutorial for install autosave for neovim , latinoamerica , porfavor has un tutorial como intalar el plugin autosave para neovim
@johnnm3207
@johnnm3207 2 жыл бұрын
Hi, still waiting on that auto-complete video... :)
@inteliconn995
@inteliconn995 2 жыл бұрын
Thanks!
@TheDistroHopper
@TheDistroHopper 2 жыл бұрын
Thank you
@wijaksanapanji
@wijaksanapanji 3 жыл бұрын
you should try lsd, it's ls with color and icons 🙌
@jakewies
@jakewies 3 жыл бұрын
What a clever name too. I'll look into it! Definitely need to get my colored "ls" command back lol
@kenloz
@kenloz 3 жыл бұрын
Cool
@m2tdev
@m2tdev 2 жыл бұрын
thanks
@Apirsito
@Apirsito 3 жыл бұрын
Hola Jake Wiesler, pimer comentario¡¡, espero no haber llegado tarde, que opinas de mi comunidad? :3,
@jakewies
@jakewies 3 жыл бұрын
League is fun!
@夕阳-n1h
@夕阳-n1h 2 жыл бұрын
Thank you for explaining the root directory thing, it didn't make sense to me at first as well. And for installing the language servers, I would recommend `williamboman/mason.nvim`, it's basically a package manager for all your lsp, linters, formatters, daps etc and you can manage everything from inside neovim.
@뉴스공장_24
@뉴스공장_24 2 жыл бұрын
helpful
@jR-tm3ko
@jR-tm3ko 2 жыл бұрын
very informative, thank you!
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 839 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
0 to LSP : Neovim RC From Scratch
30:47
ThePrimeagen
Рет қаралды 1,5 МЛН
Turn VIM into a full featured IDE with only one command
11:55
Dreams of Code
Рет қаралды 723 М.
Windows & macOS can't do this, but Linux can!
15:55
The Linux Experiment
Рет қаралды 1 МЛН
Null-ls IS BEING ARCHIVED | Prime Reacts
32:02
ThePrimeTime
Рет қаралды 93 М.
How I Use Tmux With Neovim For An Awesome Dev Workflow On My Mac
21:41
Josean Martinez
Рет қаралды 384 М.
SPEED UP your Vim navigation skills!
7:15
DevOps Toolbox
Рет қаралды 52 М.
Vimscript is dead - How to configure Nvim with Lua!
17:35
John McBride
Рет қаралды 51 М.
My Favorite Vim Tricks
14:39
MAKC
Рет қаралды 186 М.
Neovim - Your First 15 Minutes
16:45
Jake Wiesler
Рет қаралды 38 М.
How To Setup Linting And Formatting In Neovim To Replace null-ls
26:26
Josean Martinez
Рет қаралды 63 М.