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.
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.
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.
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.
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!
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
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!
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.
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?
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.
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?
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!
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!
@@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!
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 🎄🌟
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.
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?
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
كيف تنفيذ العمل البرمجه واختبار العمل كنت ارجو ان تنقسم النافذه واثناء العمل يقوم باخراج النتائج واختبار الكود في نافذه الثانيه ولكن وجد صعوبه في اختبار الاكواد البرمجيه
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.
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.
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.
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.
Not a problem! I feel the same way. Can be tough to gather everything you need to know from GitHub readmes.
One of the best explanations of neovim + LSP yet!
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.
Not a problem David, let me know how you get on with your LSP setup!
by far the best explanation how to setup lsp, thanks alot
Thank you! Glad you found it useful.
This series is awesome, I need more videos from you man
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:-).😀
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!
Hey Ido, I'm glad I could help you out! This means a lot to me :D
Very simple and detailed explanation about setup. Simple and clear. Just BOMB )
Thanks for the kind words Roman :D
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
aw man I really wanted the next video you referenced at the end !!
I wish I found this months ago. Im just happy I landed on your page! SUBBD
Absolutely brilliant. I'm now able to understand how this thing work. Thank You.
You're welcome Abdul, glad you enjoyed!
Fantastic. Very informative and gives just enough info to get started. Thanks Jake.
Hey thanks for the kind words Deepak!
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!
Glad you enjoyed! For most people I'd say there isn't much of an advantage. I just like to tinker around :)
this video is pure gold. thank you
Haha glad you enjoyed it Adrian :D
Hey I found post in your blog and is helped my slot. Thanks man
No problem Carlos glad to have you here :D
This tutorial was exactly what I needed!
Thank you. This was a great video and I am looking forward to the next one.
Awesome! Happy it helped. Next one will be out soon! LSP Autocompletion
@@jakewies Thanks so much for sharing this video. LSP autocompletion would be awesome
Thats a noice explanation for lspconfig
Glad you found it useful!
Thaaaaaanks!! I was missing that root issue you described. Save me so much time, cant thank you enough
Great vid, this is what I want!!!
Awesome!
Thank you, it is very helpful !
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.
very nice tutorial Jake
Thank you! Glad it helped 😃
Super useful, thanks!
You're most welcome!
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?
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?
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.
Very good video! Thanks!
great video very informative, thank you
No problem!
tks you so much. Nice video!
You're very welcome!
Thank you for all
Very nice video, thanks
You're very welcome!
EXCELLENT EXPLAINATION !!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks a lot, keep it up :)
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?
Also interested in answer to this question, noticed that after switching node version, server supports missing.
Thanks for your video
what broswer r u using? that thems seems extreamly cool lol
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!
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!
@@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!
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 🎄🌟
Please more! and maybe transition to vimscript series as well!
Is it possible to configure which warnings should be active and which not?
Hi, still waiting on that auto-complete video... :)
Thanks Jake 👍
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.
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?
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
When you try the codec, it does not work. Please add words of understanding
Thank you Jake
كيف تنفيذ العمل البرمجه واختبار العمل كنت ارجو ان تنقسم النافذه واثناء العمل يقوم باخراج النتائج واختبار الكود في نافذه الثانيه ولكن وجد صعوبه في اختبار الاكواد البرمجيه
Thanx a lot! But can you tell me pls how to go back to the file after "go to declaration" if this another file?
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.
@@Mankepanke awesome! thank you!
please tutorial for install autosave for neovim , latinoamerica , porfavor has un tutorial como intalar el plugin autosave para neovim
Cool
Can this work for 7 now?
Thanks!
Thank you
you should try lsd, it's ls with color and icons 🙌
What a clever name too. I'll look into it! Definitely need to get my colored "ls" command back lol
thanks
Hola Jake Wiesler, pimer comentario¡¡, espero no haber llegado tarde, que opinas de mi comunidad? :3,
League is fun!
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.
helpful
very informative, thank you!