This neovim is configured in lua.
ℹ️ Type
:h rtpfor detaile about theneovimstartup configuration procedure
- init.lua - root file where
neovimstarts looking for configuration (lua modue style) - lua - Everything inside of the
luadirectory will automatically sourced by neovim- psu - user defined configuration (psu in this case). It's a lua module for convinience
It's inspired by youtube video from Josean Martinez.
⚡ This configuration uses the lazy.nvim as a package manager
ℹ️ Use
:Lazyto spawn lazy.nvim plugin manager UIℹ️ Color schemes are managed also by the package manager
ℹ️ Use
:checkhealth <name_of_plugin>to inspect the plugin
- Find your new plugin on github (e.g.: nvim-treesitter).
- Create a configuration file in the
./lua/psu/plugindirectory using a following scheme:
return {
"plugin-name/neovim",
config = function()
require('plugin-name').setup({
-- Add setup code here (if needed)
})
-- Add extra configuration here (like key-mapping etc.)
end
}ℹ️ Using
configis optional and required only of a plugin has asetupfunction that is required to be called
Footnotes
-
In lua folder can also be a module if it contains the
init.luafile ↩