Skip to content

Installation

AntonVanAssche edited this page Oct 23, 2023 · 6 revisions

This page provides instructions for installing the Markdown Headers plugin and its dependencies, ensuring you can seamlessly integrate and benefit from its features in Neovim.

1. Plugins

The Markdown Headers plugin relies on the following dependencies:

2. Plugin Managers

Choose your preferred plugin manager below to easily install the Markdown Headers plugin: Please add unlisted plugin managers to this page.

2.1 Packer

use {
    'AntonVanAssche/md-headers.nvim',
    requires = {
        'nvim-lua/plenary.nvim'
    }
}
Plug 'nvim-lua/plenary.nvim'
Plug 'AntonVanAssche/md-headers.nvim'

2.3 Lazy

Importing file below or directory it is contained on lazy setup.

return {
    'AntonVanAssche/md-headers.nvim',
    version = '*',
    lazy = false,
    dependencies = {
        'nvim-lua/plenary.nvim',
    },
    config = function()
        require('nvim-tree').setup {}
    end,
}

3. Lazy Loading

t's not recommended to lazy load Markdown Headers. The plugin isn't resource-expensive, performing minimal validation and configuration setting. There's no performance benefit from lazy loading.

Clone this wiki locally