mirror of https://github.com/folke/lazy.nvim.git
docs: removed toc
This commit is contained in:
parent
fc55edc22e
commit
2d6559302e
17
README.md
17
README.md
|
@ -23,23 +23,6 @@
|
||||||
- 📋 Commit, branch, tag, version, and full [Semver](https://devhints.io/semver) support
|
- 📋 Commit, branch, tag, version, and full [Semver](https://devhints.io/semver) support
|
||||||
- 📈 Statusline component to see the number of pending updates
|
- 📈 Statusline component to see the number of pending updates
|
||||||
|
|
||||||
## 📄 Table of Contents
|
|
||||||
|
|
||||||
<!-- toc:start -->
|
|
||||||
|
|
||||||
- [⚡️ Requirements](#-requirements)
|
|
||||||
- [📦 Installation](#-installation)
|
|
||||||
- [🔌 Plugin Spec](#-plugin-spec)
|
|
||||||
- [⚙️ Configuration](#-configuration)
|
|
||||||
- [🚀 Usage](#-usage)
|
|
||||||
- [📊 Profiler](#-profiler)
|
|
||||||
- [🪲 Debug](#-debug)
|
|
||||||
- [▶️ Startup Sequence](#-startup-sequence)
|
|
||||||
- [📦 Differences with Packer](#-differences-with-packer)
|
|
||||||
- [📦 Other Neovim Plugin Managers in Lua](#-other-neovim-plugin-managers-in-lua)
|
|
||||||
|
|
||||||
<!-- toc:end -->
|
|
||||||
|
|
||||||
## ⚡️ Requirements
|
## ⚡️ Requirements
|
||||||
|
|
||||||
- Neovim >= **0.8.0**
|
- Neovim >= **0.8.0**
|
||||||
|
|
|
@ -48,7 +48,7 @@ end
|
||||||
---@param contents table<string, string>
|
---@param contents table<string, string>
|
||||||
function M.save(contents)
|
function M.save(contents)
|
||||||
local readme = Util.read_file("README.md")
|
local readme = Util.read_file("README.md")
|
||||||
contents.toc = M.toc(readme)
|
-- contents.toc = M.toc(readme)
|
||||||
for tag, content in pairs(contents) do
|
for tag, content in pairs(contents) do
|
||||||
content = M.fix_indent(content)
|
content = M.fix_indent(content)
|
||||||
content = content:gsub("%%", "%%%%")
|
content = content:gsub("%%", "%%%%")
|
||||||
|
|
Loading…
Reference in New Issue