My Lunarvim config files
- Install Neovim
git clone git@github.com:daniel-vera-g/lvim.git ~/.config/lvim/
The aim is to provide a modular structure to configure different options, plugins, languages,...
- The config is built around modules which are instantiated in the
./config.luaentry file - In sub modules like
plugins, aninit.luafile is used. This file allows the option to export all module configuration in one export. In theconfig.luawe then can import the whole module and instantiate it.
General:
./lua/user/config.lua: General vim config./lua/user/lvim.lua: Lunarvim built in config./lua/user/keybindings.lua: Custom keybindings
Language/File type related:
./lua/user/formatters.lua: Language formatters./lua/user/linters.lua: Language linters./lsp-settings/: Home for the language server settings./ftplugin/: Language(Aka. File type) specific configuration
Plugin related:
./lua/user/plugins/init.lua: Plugin specific configuration./snippets/: Custom snippets in VSCode Format./spell/: Own spell dictionaries
General:
./patches: Patches for the original LunarVim config
- Get patch:
git diff > ~/.config/lvim/patches/disable_spell.patch - Apply patch(In
~/.local/share/lunarvim):git apply ~/.config/lvim/patches/disable_spell.patch - Remove patch(In
~/.local/share/lunarvim):git apply -R ~/.config/lvim/patches/disable_spell.patch
Lunarvim:
Learn Lua:
