Up next

How I Setup LSP In Neovim For An Amazing Dev Experience - Full Guide

1 Views· 06/09/23
Learn Coding
Learn Coding
3 Subscribers
3
In

Hey guys! In this video I go through everything I do to setup and configure LSP in Neovim. This is an update to the LSP portion of my previous Neovim complete setup guide. I hope you enjoy it and find it helpful!

If you haven't seen it, I'd recommend you watch this video first:
? lazy.nvim tutorial video - https://youtu.be/6mxWayq-s9I?si=lCjBs5NXOPYDnuds

? My Full Neovim Config: https://github.com/josean-dev/....dev-environment-file

Helpful links:
lazy.nvim: https://github.com/folke/lazy.nvim
telescope.nvim: https://github.com/nvim-telescope/telescope.nvim
ripgrep: https://github.com/BurntSushi/ripgrep
dressing.nvim: https://github.com/stevearc/dressing.nvim
nvim-cmp: https://github.com/hrsh7th/nvim-cmp
mason.nvim: https://github.com/williamboman/mason.nvim
mason-lspconfig.nvim: https://github.com/williamboma....n/mason-lspconfig.nv
nvim-lspconfig: https://github.com/neovim/nvim-lspconfig

For more information on configuring language servers and to find the one you need take a look here: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md

After finishing the video, one thing I forgot to include was vs-code like pictograms for the lsp autocompletion with: https://github.com/onsails/lspkind.nvim. You can find how to do this in my config repo.

Also, you might notice that I sometimes use the arrow keys to move through nvim-cmp and telescope results instead of my keymaps (Ctrl+j, Ctrl+k). This is because I've configured a layer on my custom built corne keyboard that maps my "h", "j", "k", "l" keys to the arrow keys and I've gotten used to that.


⏰ Timestamps:
00:00 - Introduction
00:43 - Config Overview
02:21 - telescope.nvim (fuzzy finder)
06:58 - dressing.nvim (ui improvement)
11:44 - nvim-cmp (autocompletion)
16:10 - lsp subdirectory
17:20 - mason.nvim
20:47 - nvim-lspconfig
27:55 - lsp examples & rundown
33:35 - Conclusion

? Email for business inquiries: youtube@josean.com

--------------------------------------------------------------------------------
?️ My Desk Setup:

? Computer & Monitor

Apple 27” Studio Display for Coding & Video Editing: https://amzn.to/47YzRZt
2021 M1 Pro Macbook Pro (mine): https://amzn.to/47XNhoC
2023 M2 Pro Macbook Pro (newest): https://amzn.to/3qYHG0J

?️ Mouse

Apple Trackpad: https://amzn.to/45P0i1S
Logitech MX Master 3s Mouse: https://amzn.to/3Z3bXIq

⌨️ Keyboard

Cherry Corne Version 3 Kit: https://bit.ly/3UJgrjH
Analyst Keyboard Case: http://bit.ly/3uyjIHQ
Nice!Nano Microcontrollers: http://bit.ly/3FblL9L
Gateron Ink Black V2 Switches: https://amzn.to/3YZ3cz9
Batteries for Nice!Nanos: https://bit.ly/3uBmtrS
Travel Case (Fits Analyst Corne Case): http://bit.ly/3Hmr7BR
Gateron Ink Black V2 Switches: https://bit.ly/3VJToX4
My Keycaps: https://bit.ly/3uHBbgV
Blank PBT Keycaps: https://bit.ly/3UJhgJ6 or https://amzn.to/3UNQtLQ
Planck PBT Keycap Set: https://amzn.to/3HopRhC

You can also find some pre-built options and DIY kits on Etsy: https://www.etsy.com/search?q=corne

? Headphones

Sony WH-1000XM4 Headphones: https://amzn.to/3sEJU65

----------------------------------
? My Video Gear:

? Camera

My Fuji xt3 Camera (only available used): https://amzn.to/3P4P1E7
Recommended Cameras:
Fuji xt5 (newest): https://amzn.to/3P0jMtK
Fuji xt4 (used): https://amzn.to/3EmeUdt
Fuji 23mm f2 Lens (great for video in smaller spaces): https://amzn.to/3L2L6pV
Camera Field Monitor: https://amzn.to/3L2nrpW

?️ Audio

Rode VideoMic Pro+: https://amzn.to/45PecRC
Overhead Camera/Mic Arm: https://amzn.to/45y8Ryl

? Lighting

Aputure Amaran 100d Keylight: https://amzn.to/47T4Y97
Aputure Light Dome Mini II Softbox: https://amzn.to/3EstpMM
Aputure Amaran Small RGB Light: https://amzn.to/3Pl6RnG
IVISII Bright RGB Light: https://amzn.to/3EmfsA3

---------------------------------------------------------------------------------------------
Links used in the description may be affiliate links. By clicking and/or purchasing from these affiliate links I receive a small commission (at no cost to you). This really helps me out in funding my videos and growing my channel, thank you for the support!

Show more

 0 Comments sort   Sort By


Up next