From 980cfa95f3de9dd0aba24148b37813614412303f Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 19 Dec 2022 19:09:49 +0100 Subject: [PATCH] docs: added config example when not using a Nerd Font --- README.md | 26 ++++++++++++++++++++++++++ TODO.md | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ac2bc78..18808d3 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ - Neovim >= **0.8.0** (needs to be built with **LuaJIT**) - Built for **Linux** and **MacOS** - Git >= **2.19.0** (for partial clones support) +- a [Nerd Font](https://www.nerdfonts.com/) **_(optional)_** ## 📦 Installation @@ -331,6 +332,31 @@ return { +
+If you don't want to use a Nerd Font, you can replace the icons with Unicode symbols. + +```lua +{ + ui = { + icons = { + cmd = "⌘", + config = "🛠", + event = "📅", + ft = "📂", + init = "⚙", + keys = "🗝", + plugin = "🔌", + runtime = "💻", + source = "📄", + start = "🚀", + task = "📌", + }, + }, +} +``` + +
+ ## 🚀 Usage You can manage all your plugins with the main `:Lazy` command. diff --git a/TODO.md b/TODO.md index f20ddb2..7842f87 100644 --- a/TODO.md +++ b/TODO.md @@ -57,6 +57,6 @@ - [ ] Why are personal dotfiles used as examples? Dotfiles change all the time, there's no guarantee this will be relevant or even exist in two years. - [ ] What's the difference between lazy-loading and verylazy-loading? -- [ ] Most emojis in "Configuration" aren't shown for me. +- [x] Most emojis in "Configuration" aren't shown for me. - [x] add section on how to uninstall - [x] add `:Packadd` command or something similar