This commit is contained in:
pika 2025-05-17 11:34:42 +02:00
parent 0e1ebe53ab
commit d0348502da

View file

@ -12,7 +12,7 @@ This is my current neovim configuration. It uses [lazy.nvim](https://github.com/
> This script should cover [most linux distros](https://git.k4li.de/scripts/imports/raw/branch/main/distros.sh "This script is used to detect the linux distros for installing the dependencies and building from source")
>
> ```bash
> curl -fsSL [https://git.k4li.de/scripts/installs/raw/branch/main/neovim.sh](https://git.k4li.de/scripts/installs/raw/branch/main/neovim.sh) | bash
> curl -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/neovim.sh | bash
> ```
> [!TIP]
@ -46,4 +46,11 @@ git clone --depth=1 https://git.k4li.de/dotfiles/nvim.git $HOME/.config/nvim/
- Plugin configuration and adding your own
My config is relatively simple structured. If you want to add a plugin, just create a <plugin.name>.lua file in the `lua/pika/plugin/` path, inside a `require{}` table.
My config is relatively simple structured. If you want to add a plugin, just create a `<plugin.name>.lua` file in the `lua/pika/plugin/` path which has the plugin code inside a `require{}` table.
```plugin.lua
require{
"<username>/<plugin>", -- <- usually the git username/repo, can also be a full link to external git repo
opts = {}, -- <- put in your plugin configuration content. The opts = {}, calls `require("<plugin>").setup({})`
}
```