From 0c4e3d114dfc824723d65103553ea59b5e7bb0db Mon Sep 17 00:00:00 2001 From: sebastian Date: Mon, 28 Apr 2025 08:38:32 +0200 Subject: [PATCH] add infos to Readme about emoji2.json in emoji.nvim --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 79a58ef..ceeb6b9 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,27 @@ List of tmux plugins and config, so I can remember what I was doing ## nvim +### emoji.nvim + +Using [Allaman/emoji.nvim](https://github.com/Allaman/emoji.nvim) to have some emoji picker. + +Had to change + +``` + -- is not vim.fn.stdpath("data") .. "/lazy/ + plugin_path = vim.fn.expand("$HOME/plugins/"), +``` + +to + +``` + -- is not vim.fn.stdpath("data") .. "/lazy/ + -- plugin_path = vim.fn.expand("$HOME/plugins/"), +``` + +to make the plugin load the `emoji2.json` from correct path! Otherwise it will fail with an error message that it can't find the emoji path 🤦 + + ## nano ## git