add infos to Readme about emoji2.json in emoji.nvim

This commit is contained in:
sebastian
2025-04-28 08:38:32 +02:00
parent 7893dfc253
commit 0c4e3d114d

View File

@@ -16,6 +16,27 @@ List of tmux plugins and config, so I can remember what I was doing
## nvim ## 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 ## nano
## git ## git