diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..dc43a73
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,97 @@
+name: Continuous Integration
+
+on:
+ push:
+ branches:
+ - main
+ - next
+ pull_request:
+ branches:
+ - main
+ - next
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ lint:
+ name: Lint Lua with Luacheck
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ - name: Luacheck linter
+ uses: lunarmodules/luacheck@v1
+
+ format:
+ name: Check Formatting with StyLua
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ - uses: JohnnyMorganz/stylua-action@v4
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ version: v0.20.0 # NOTE: we recommend pinning to a specific version in case of formatting changes
+ # CLI arguments
+ args: --check lua/
+
+ test:
+ name: Run Neovim Tests
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ neovim_version:
+ - nightly
+ - stable
+ - v0.10.2
+ - v0.9.5
+ - v0.8.3
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - uses: rhysd/action-setup-vim@v1
+ with:
+ neovim: true
+ version: ${{ matrix.neovim_version}}
+
+ - uses: extractions/setup-just@v1
+ with:
+ just-version: 1.36.0 # optional semver specification, otherwise latest
+
+ - name: Run tests
+ run: just test
+ release:
+ needs: [lint, format, test]
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ issues: write
+ pull-requests: write
+ steps:
+ - name: Harden Runner
+ uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+ with:
+ egress-policy: audit
+
+ - name: Checkout repository
+ uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
+ with:
+ fetch-depth: 0
+ persist-credentials: false
+
+ - name: Semantic Release
+ uses: cycjimmy/semantic-release-action@b1b432f13acb7768e0c8efdec416d363a57546f2 # v4.1.1
+ id: semantic
+ with:
+ semantic_version: 24.0.0
+ extra_plugins: |
+ @semantic-release/exec@6
+ @semantic-release/git@10
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/scorecard.yaml b/.github/workflows/scorecard.yaml
new file mode 100644
index 0000000..b6f2b15
--- /dev/null
+++ b/.github/workflows/scorecard.yaml
@@ -0,0 +1,42 @@
+name: Scorecard supply-chain security
+on:
+ branch_protection_rule:
+ schedule:
+ - cron: "30 1 * * 4"
+ push:
+ branches: ["main"]
+
+permissions: read-all
+
+jobs:
+ analysis:
+ name: Scorecard analysis
+ runs-on: ubuntu-latest
+ permissions:
+ security-events: write
+ id-token: write
+
+ steps:
+ - name: "Checkout code"
+ uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
+ with:
+ persist-credentials: false
+
+ - name: "Run analysis"
+ uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
+ with:
+ results_file: results.sarif
+ results_format: sarif
+ publish_results: true
+
+ - name: "Upload artifact"
+ uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.pre.node20
+ with:
+ name: SARIF file
+ path: results.sarif
+ retention-days: 5
+
+ - name: "Upload to code-scanning"
+ uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3
+ with:
+ sarif_file: results.sarif
diff --git a/.gitignore b/.gitignore
index 50a5c31..4933f7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
-/plugin/reload.vim
\ No newline at end of file
+!scripts/
+/plugin/reload.vim
+deps/
+.ci
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 0000000..084dc49
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,4 @@
+globals = { "vim", "MiniTest" }
+max_line_length = false
+
+exclude_files = { "deps" }
diff --git a/.luarc.json b/.luarc.json
new file mode 100644
index 0000000..85eb8d6
--- /dev/null
+++ b/.luarc.json
@@ -0,0 +1,11 @@
+{
+ "diagnostics.globals": [
+ "vim",
+ "MiniTest"
+ ],
+ "runtime.version": "LuaJIT",
+ "workspace.library": [
+ "/usr/local/share/nvim/runtime/lua",
+ ".ci/neovim/share/nvim/runtime/lua"
+ ]
+}
diff --git a/.markdownlint.json b/.markdownlint.json
new file mode 100644
index 0000000..2510c11
--- /dev/null
+++ b/.markdownlint.json
@@ -0,0 +1,16 @@
+{
+ "MD003": {
+ "style": "atx"
+ },
+ "MD007": {
+ "indent": 2
+ },
+ "MD013": false,
+ "MD024": false,
+ "MD033": false,
+ "MD041": false,
+ "default": true,
+ "link-fragments": false,
+ "no-hard-tabs": true,
+ "whitespace": false
+}
diff --git a/.markdownlintignore b/.markdownlintignore
new file mode 100644
index 0000000..e19d7c0
--- /dev/null
+++ b/.markdownlintignore
@@ -0,0 +1,4 @@
+^LICENSE
+.github/**/*
+meta/LICENSE-HEADER
+guide/src/SUMMARY.md
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..28d9a01
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,125 @@
+# SPDX-FileCopyrightText: 2024 Ali Sajid Imami
+#
+# SPDX-License-Identifier: MIT
+
+default_stages:
+ - pre-commit
+ - commit-msg
+ - pre-push
+repos:
+ - repo: https://github.com/commitizen-tools/commitizen
+ rev: v3.29.1
+ hooks:
+ - id: commitizen
+
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v5.0.0
+ hooks:
+ - id: check-json
+ - id: no-commit-to-branch
+ args:
+ - --branch
+ - main
+ - --branch
+ - next
+ - id: check-merge-conflict
+ - id: check-toml
+ - id: check-xml
+ - id: check-yaml
+ - id: end-of-file-fixer
+ - id: mixed-line-ending
+ args:
+ - --fix=no
+ - id: pretty-format-json
+ args:
+ - --indent=4
+ - --autofix
+ - id: trailing-whitespace
+ args:
+ - --markdown-linebreak-ext=md
+ - id: check-added-large-files
+
+ - repo: https://github.com/compilerla/conventional-pre-commit
+ rev: v3.4.0
+ hooks:
+ - id: conventional-pre-commit
+ args:
+ - build
+ - chore
+ - ci
+ - docs
+ - feat
+ - fix
+ - perf
+ - refactor
+ - revert
+ - style
+ - test
+ - bump
+ stages:
+ - commit-msg
+
+ - repo: https://github.com/Lucas-C/pre-commit-hooks
+ rev: v1.5.5
+ hooks:
+ - id: forbid-crlf
+ - id: remove-crlf
+ - id: forbid-tabs
+ - id: remove-tabs
+
+ - repo: https://github.com/adrienverge/yamllint
+ rev: v1.35.1
+ hooks:
+ - id: yamllint
+ args:
+ - --config=$(pwd)/.yamllint.yml
+ stages:
+ - commit-msg
+
+ - repo: https://github.com/igorshubovych/markdownlint-cli
+ rev: v0.42.0
+ hooks:
+ - id: markdownlint
+ args:
+ - --ignore
+ - CHANGELOG.md
+
+ - repo: https://github.com/Yelp/detect-secrets
+ rev: v1.5.0
+ hooks:
+ - id: detect-secrets
+ args:
+ - '--baseline'
+ - '.secrets.baseline'
+ exclude: 'pnpm-lock.yaml'
+
+ - repo: https://github.com/sirosen/texthooks
+ rev: 0.6.7
+ hooks:
+ - id: fix-smartquotes
+ - id: fix-ligatures
+ - id: forbid-bidi-controls
+
+ - repo: https://github.com/zricethezav/gitleaks
+ rev: v8.21.0
+ hooks:
+ - id: gitleaks
+
+ - repo: https://github.com/fsfe/reuse-tool
+ rev: 'v4.0.3'
+ hooks:
+ - id: reuse
+
+ - repo: https://github.com/renovatebot/pre-commit-hooks
+ rev: 38.124.0
+ hooks:
+ - id: renovate-config-validator
+
+ - repo: https://github.com/Calinou/pre-commit-luacheck
+ rev: v1.0.0
+ hooks:
+ - id: luacheck
+ - repo: https://github.com/JohnnyMorganz/StyLua
+ rev: v0.20.0
+ hooks:
+ - id: stylua # or stylua-system / stylua-github
diff --git a/.secrets.baseline b/.secrets.baseline
new file mode 100644
index 0000000..fa2cd97
--- /dev/null
+++ b/.secrets.baseline
@@ -0,0 +1,127 @@
+{
+ "version": "1.5.0",
+ "plugins_used": [
+ {
+ "name": "ArtifactoryDetector"
+ },
+ {
+ "name": "AWSKeyDetector"
+ },
+ {
+ "name": "AzureStorageKeyDetector"
+ },
+ {
+ "name": "Base64HighEntropyString",
+ "limit": 4.5
+ },
+ {
+ "name": "BasicAuthDetector"
+ },
+ {
+ "name": "CloudantDetector"
+ },
+ {
+ "name": "DiscordBotTokenDetector"
+ },
+ {
+ "name": "GitHubTokenDetector"
+ },
+ {
+ "name": "GitLabTokenDetector"
+ },
+ {
+ "name": "HexHighEntropyString",
+ "limit": 3.0
+ },
+ {
+ "name": "IbmCloudIamDetector"
+ },
+ {
+ "name": "IbmCosHmacDetector"
+ },
+ {
+ "name": "IPPublicDetector"
+ },
+ {
+ "name": "JwtTokenDetector"
+ },
+ {
+ "name": "KeywordDetector",
+ "keyword_exclude": ""
+ },
+ {
+ "name": "MailchimpDetector"
+ },
+ {
+ "name": "NpmDetector"
+ },
+ {
+ "name": "OpenAIDetector"
+ },
+ {
+ "name": "PrivateKeyDetector"
+ },
+ {
+ "name": "PypiTokenDetector"
+ },
+ {
+ "name": "SendGridDetector"
+ },
+ {
+ "name": "SlackDetector"
+ },
+ {
+ "name": "SoftlayerDetector"
+ },
+ {
+ "name": "SquareOAuthDetector"
+ },
+ {
+ "name": "StripeDetector"
+ },
+ {
+ "name": "TelegramBotTokenDetector"
+ },
+ {
+ "name": "TwilioKeyDetector"
+ }
+ ],
+ "filters_used": [
+ {
+ "path": "detect_secrets.filters.allowlist.is_line_allowlisted"
+ },
+ {
+ "path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
+ "min_level": 2
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_indirect_reference"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_likely_id_string"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_lock_file"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_potential_uuid"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_sequential_string"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_swagger_file"
+ },
+ {
+ "path": "detect_secrets.filters.heuristic.is_templated_secret"
+ }
+ ],
+ "results": {},
+ "generated_at": "2024-10-14T20:22:13Z"
+}
diff --git a/.yamlfmt b/.yamlfmt
new file mode 100644
index 0000000..e493519
--- /dev/null
+++ b/.yamlfmt
@@ -0,0 +1,16 @@
+---
+# SPDX-FileCopyrightText: 2022 - 2024 Ali Sajid Imami
+#
+# SPDX-License-Identifier: CC0-1.0
+line_ending: "lf"
+doublestar: true
+include:
+ - .github/**/*.yml
+ - .pre-commit-config.yaml
+ - .yamlfmt
+formatter:
+ type: basic
+ include_document_start: true
+ line_ending: "lf"
+ max_line_length: 150
+ indent: 4
diff --git a/.yamllint.yml b/.yamllint.yml
new file mode 100644
index 0000000..db407d8
--- /dev/null
+++ b/.yamllint.yml
@@ -0,0 +1,17 @@
+---
+# SPDX-FileCopyrightText: 2022 - 2024 Ali Sajid Imami
+#
+# SPDX-License-Identifier: CC0-1.0
+extends: default
+rules:
+ # 80 chars should be enough, but don't fail if a line is longer
+ line-length:
+ max: 150
+ level: warning
+ truthy:
+ check-keys: false
+ indentation:
+ spaces: 4
+ indent-sequences: true
+ comments:
+ min-spaces-from-content: 1
diff --git a/Justfile b/Justfile
new file mode 100644
index 0000000..4294377
--- /dev/null
+++ b/Justfile
@@ -0,0 +1,96 @@
+# SPDX-FileCopyrightText: 2024 Ali Sajid Imami
+#
+# SPDX-License-Identifier: MIT
+
+set unstable
+
+_default:
+ just --list
+
+# Do a full run of linting, testing, and documentation generation.
+all: documentation lint luals test
+
+# Run all the test files.
+test: deps
+ nvim --version | head -n 1 && echo ''
+ nvim --headless --noplugin -u ./scripts/minimal_init.lua \
+ -c "lua require('mini.test').setup()" \
+ -c "lua MiniTest.run({ execute = { reporter = MiniTest.gen_reporter.stdout({ group_depth = 2 }) } })"
+
+# Install `mini.nvim`, used for both the tests and documentation.
+[script("bash")]
+deps:
+ set -euxo pipefail
+ if [ -d deps/mini.nvim ]; then
+ cd deps/mini.nvim && git pull
+ else
+ mkdir -p deps
+ git clone --depth 1 https://github.com/echasnovski/mini.nvim deps/mini.nvim
+ fi
+
+# Install deps before running tests, useful for the CI.
+test-ci: deps test
+
+# Generates the documentation.
+documentation:
+ nvim --headless --noplugin -u ./scripts/minimal_init.lua -c "lua require('mini.doc').generate()" -c "qa!"
+
+# installs deps before running the documentation generation, useful for the CI.
+documentation-ci: deps documentation
+
+# Perform a lint check and fix issue if possible, following the config in `stylua.toml`.
+lint:
+ stylua . -g '*.lua' -g '!deps/' -g '!nightly/'
+ luacheck plugin/ lua/
+
+# Set the CI up for linting
+[script("bash")]
+luals-ci:
+ set -euxo pipefail
+ rm -rf .ci/lua-ls/log
+ lua-language-server --configpath .luarc.json --logpath .ci/lua-ls/log --check .
+ if [ -f .ci/lua-ls/log/check.json ]; then
+ if ! jq -e '. == []' .ci/lua-ls/log/check.json > /dev/null; then
+ cat .ci/lua-ls/log/check.json 2>/dev/null
+ exit 1
+ fi
+ fi
+
+# Download and install lua lua-language-server for CI
+luals:
+ mkdir -p .ci/lua-ls
+ curl -sL "https://github.com/LuaLS/lua-language-server/releases/download/3.7.4/lua-language-server-3.7.4-darwin-x64.tar.gz" | tar xzf - -C "${PWD}/.ci/lua-ls"
+ just luals-ci
+
+_download-neovim version:
+ # Download and use Neovim specified version
+ mkdir -p ./nvim/${version}
+ curl -L https://github.com/neovim/neovim/releases/download/${version}/nvim-macos.tar.gz -o ./nvim/${version}/nvim-macos.tar.gz
+ tar xzf ./nvim/${version}/nvim-macos.tar.gz -C ./nvim/${version} --strip-components=1
+
+_test-version version:
+ just _download-neovim ${version}
+ ./nvim/${version}/bin/nvim --version
+ PATH=./nvim/${version}/bin:$PATH just test
+
+version := "placeholder"
+
+# Test against the nightly version of Neovim
+test-nightly:
+ just _test-version nightly
+
+# Test against the stable version of Neovim
+test-stable:
+ just _test-version stable
+
+# Test against the v0.8.3 version of Neovim
+test-0-8-3:
+ just _test-version v0.8.3
+
+# Test against the v0.9.5 version of Neovim
+test-0-9-5:
+ just _test-version v0.9.5
+
+# Test against the v0.8.3 version of Neovim
+test-0-10-2:
+ just _test-version v0.10.2
diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt
new file mode 100644
index 0000000..0e259d4
--- /dev/null
+++ b/LICENSES/CC0-1.0.txt
@@ -0,0 +1,121 @@
+Creative Commons Legal Code
+
+CC0 1.0 Universal
+
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
+ HEREUNDER.
+
+Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer
+exclusive Copyright and Related Rights (defined below) upon the creator
+and subsequent owner(s) (each and all, an "owner") of an original work of
+authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for
+the purpose of contributing to a commons of creative, cultural and
+scientific works ("Commons") that the public can reliably and without fear
+of later claims of infringement build upon, modify, incorporate in other
+works, reuse and redistribute as freely as possible in any form whatsoever
+and for any purposes, including without limitation commercial purposes.
+These owners may contribute to the Commons to promote the ideal of a free
+culture and the further production of creative, cultural and scientific
+works, or to gain reputation or greater distribution for their Work in
+part through the use and efforts of others.
+
+For these and/or other purposes and motivations, and without any
+expectation of additional consideration or compensation, the person
+associating CC0 with a Work (the "Affirmer"), to the extent that he or she
+is an owner of Copyright and Related Rights in the Work, voluntarily
+elects to apply CC0 to the Work and publicly distribute the Work under its
+terms, with knowledge of his or her Copyright and Related Rights in the
+Work and the meaning and intended legal effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be
+protected by copyright and related or neighboring rights ("Copyright and
+Related Rights"). Copyright and Related Rights include, but are not
+limited to, the following:
+
+ i. the right to reproduce, adapt, distribute, perform, display,
+ communicate, and translate a Work;
+ ii. moral rights retained by the original author(s) and/or performer(s);
+iii. publicity and privacy rights pertaining to a person's image or
+ likeness depicted in a Work;
+ iv. rights protecting against unfair competition in regards to a Work,
+ subject to the limitations in paragraph 4(a), below;
+ v. rights protecting the extraction, dissemination, use and reuse of data
+ in a Work;
+ vi. database rights (such as those arising under Directive 96/9/EC of the
+ European Parliament and of the Council of 11 March 1996 on the legal
+ protection of databases, and under any national implementation
+ thereof, including any amended or successor version of such
+ directive); and
+vii. other similar, equivalent or corresponding rights throughout the
+ world based on applicable law or treaty, and any national
+ implementations thereof.
+
+2. Waiver. To the greatest extent permitted by, but not in contravention
+of, applicable law, Affirmer hereby overtly, fully, permanently,
+irrevocably and unconditionally waives, abandons, and surrenders all of
+Affirmer's Copyright and Related Rights and associated claims and causes
+of action, whether now known or unknown (including existing as well as
+future claims and causes of action), in the Work (i) in all territories
+worldwide, (ii) for the maximum duration provided by applicable law or
+treaty (including future time extensions), (iii) in any current or future
+medium and for any number of copies, and (iv) for any purpose whatsoever,
+including without limitation commercial, advertising or promotional
+purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
+member of the public at large and to the detriment of Affirmer's heirs and
+successors, fully intending that such Waiver shall not be subject to
+revocation, rescission, cancellation, termination, or any other legal or
+equitable action to disrupt the quiet enjoyment of the Work by the public
+as contemplated by Affirmer's express Statement of Purpose.
+
+3. Public License Fallback. Should any part of the Waiver for any reason
+be judged legally invalid or ineffective under applicable law, then the
+Waiver shall be preserved to the maximum extent permitted taking into
+account Affirmer's express Statement of Purpose. In addition, to the
+extent the Waiver is so judged Affirmer hereby grants to each affected
+person a royalty-free, non transferable, non sublicensable, non exclusive,
+irrevocable and unconditional license to exercise Affirmer's Copyright and
+Related Rights in the Work (i) in all territories worldwide, (ii) for the
+maximum duration provided by applicable law or treaty (including future
+time extensions), (iii) in any current or future medium and for any number
+of copies, and (iv) for any purpose whatsoever, including without
+limitation commercial, advertising or promotional purposes (the
+"License"). The License shall be deemed effective as of the date CC0 was
+applied by Affirmer to the Work. Should any part of the License for any
+reason be judged legally invalid or ineffective under applicable law, such
+partial invalidity or ineffectiveness shall not invalidate the remainder
+of the License, and in such case Affirmer hereby affirms that he or she
+will not (i) exercise any of his or her remaining Copyright and Related
+Rights in the Work or (ii) assert any associated claims and causes of
+action with respect to the Work, in either case contrary to Affirmer's
+express Statement of Purpose.
+
+4. Limitations and Disclaimers.
+
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
+ surrendered, licensed or otherwise affected by this document.
+ b. Affirmer offers the Work as-is and makes no representations or
+ warranties of any kind concerning the Work, express, implied,
+ statutory or otherwise, including without limitation warranties of
+ title, merchantability, fitness for a particular purpose, non
+ infringement, or the absence of latent or other defects, accuracy, or
+ the present or absence of errors, whether or not discoverable, all to
+ the greatest extent permissible under applicable law.
+ c. Affirmer disclaims responsibility for clearing rights of other persons
+ that may apply to the Work or any use thereof, including without
+ limitation any person's Copyright and Related Rights in the Work.
+ Further, Affirmer disclaims responsibility for obtaining any necessary
+ consents, permissions or other rights required for any use of the
+ Work.
+ d. Affirmer understands and acknowledges that Creative Commons is not a
+ party to this document and has no duty or obligation with respect to
+ this CC0 or use of the Work.
diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt
new file mode 100644
index 0000000..2071b23
--- /dev/null
+++ b/LICENSES/MIT.txt
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c)
+ my-awesome-plugin.nvim
+
+ > A catch phrase that describes your plugin. +
+ +Package manager | +Snippet | +
---|---|
+ +[wbthomason/packer.nvim](https://github.com/wbthomason/packer.nvim) + + | ++ +```lua +-- stable version +use {"my-awesome-plugin.nvim", tag = "*" } +-- dev version +use {"my-awesome-plugin.nvim"} +``` + + | +
+ +[junegunn/vim-plug](https://github.com/junegunn/vim-plug) + + | ++ +```lua +-- stable version +Plug "my-awesome-plugin.nvim", { "tag": "*" } +-- dev version +Plug "my-awesome-plugin.nvim" +``` + + | +
+ +[folke/lazy.nvim](https://github.com/folke/lazy.nvim) + + | ++ +```lua +-- stable version +require("lazy").setup({{"my-awesome-plugin.nvim", version = "*"}}) +-- dev version +require("lazy").setup({"my-awesome-plugin.nvim"}) +``` + + | +