📹 lazy.nvim Neovim Guide: How To Use lazy.nvim for an Amazing And Simple Neovim Config
If you clone the repo into your machine and use the config by copying .config/nvim to your home folder, wait for the plugins, language servers and parsers to install with lazy.nvim, Mason and nvim-treesitter. If you are opening a lua file or another file I have language servers configured for, like html, css or javascript/typescript, you might also get an error saying that the server failed to start. This is because Mason hasn't installed it yet. Press enter to continue, Mason will automatically install it.
- True Color Terminal Like: WezTerm
- Neovim (Version 0.9 or Later)
- Nerd Font - I use Iosevka Nerd Font
- Ripgrep - For Telescope Fuzzy Finder
- XCode Command Line Tools
- If working with typescript/javascript and the typescript language server like me. You might need to install node.
If you're on mac, like me, you can install WezTerm, Neovim, Ripgrep and Node with homebrew.
brew install --cask wezterm
brew install neovim
brew install ripgrep
brew install node
For XCode Command Line Tools do:
xcode-select --install
- folke/lazy.nvim - Amazing plugin manager
- nvim-lua/plenary - Useful lua functions other plugins use
- tpope/vim-surround - manipulate surroundings with "ys", "ds", and "cs"
- vim-scripts/ReplaceWithRegister - replace things with register with "gr"
- numToStr/Comment.nvim - toggle comments with "gc"
- nvim-telescope/telescope-fzf-native.nvim - Dependency for better performance
- nvim-telescope/telescope.nvim - Fuzzy Finder
- hrsh7th/nvim-cmp - Completion plugin
- hrsh7th/cmp-buffer - Completion source for text in current buffer
- hrsh7th/cmp-path - Completion source for file system paths
- onsails/lspkind.nvim - Vs Code Like Icons for autocompletion
- L3MON4D3/LuaSnip - Snippet engine
- saadparwaiz1/cmp_luasnip - Completion source for snippet autocomplete
- williamboman/mason-lspconfig.nvim - Bridges gap b/w mason & lspconfig
- neovim/nvim-lspconfig - Easy way to configure lsp servers
- hrsh7th/cmp-nvim-lsp - Smart code autocompletion with lsp
- jose-elias-alvarez/null-ls.nvim - Easy way to configure formatters & linters
- jayp0521/mason-null-ls.nvim - Bridges gap b/w mason & null-ls
- nvim-treesitter/nvim-treesitter - Treesitter configuration
- windwp/nvim-autopairs - Autoclose brackets, parens, quotes, etc...
- windwp/nvim-ts-autotag - Autoclose tags
- tpope/fugitive.vim - "A Git wrapper so awesome, it should be illegal"
- lewis6991/gitsigns.nvim - Show line modifications on left hand side