I've always been curious on how much I'd like of hate using Neovim as my daily editor for development. After a few days of learining about Neovim, the plugins and Lua, this is my take on a configuration that I think could work for me.
This configuration is highly influenced by LunarVim/Neovim-from-scratch and their YouTube series
After going through some examples and too much YouTube, I've decided to go with a modular directory structure
.
βββ LICENSE
βββ README.md
βββ init.lua
βββ lua
β βββ core
β β βββ init.lua
β β βββ options.lua
β β βββ plugins.lua
β βββ plugins
β βββ autopairs.lua
β βββ cmp.lua
β βββ git.lua
β βββ init.lua
β βββ lsp
β β βββ init.lua
β β βββ lspconfig.lua
β β βββ mason.lua
β β βββ server_settings
β β β βββ sumneko_lua.lua
β β βββ settings.lua
β βββ lualine.lua
β βββ nvim-tree.lua
β βββ telescope.lua
β βββ toggleterm.lua
β βββ tokyo-night.lua
β βββ treesitter.lua
βββ plugin
βββ packer_compiled.lua
6 directories, 22 files
I wanted to concentrate on a few areas
- language servers (LSPs)
- completions
- search and file fuzzy finder
- syntax highlinting
- git integrations
Included plugins can be found in the core/plugins.lua.