From d0348502da7340f06729dba6cde9472420c05417 Mon Sep 17 00:00:00 2001 From: pika Date: Sat, 17 May 2025 11:34:42 +0200 Subject: [PATCH] wip --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d347b3..7641d68 100644 --- a/README.md +++ b/README.md @@ -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 .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 `.lua` file in the `lua/pika/plugin/` path which has the plugin code inside a `require{}` table. + +```plugin.lua +require{ + "/", -- <- 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("").setup({})` +} +```