From 780800e371c76ea91810e4123564e92b2f4386fa Mon Sep 17 00:00:00 2001 From: MeanderingProgrammer Date: Mon, 29 Jul 2024 09:57:32 -0700 Subject: [PATCH] Update luarocks workflow to trigger on tag only, not release ## Details There is no need to run the luarocks workflow on both tag creation and release creation given how I currently create releases. They are essentially just copies of each other. Other minor changes: - Move local ignored assets to temp directory - Add a link to luarocks markdown.nvim asset --- .github/workflows/luarocks.yml | 9 ++++----- .gitignore | 7 +------ CHANGELOG.md | 8 ++++++++ README.md | 4 +++- doc/render-markdown.txt | 6 ++++-- doc/todo.md | 1 + justfile | 4 ++-- temp/.gitkeep | 0 8 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 temp/.gitkeep diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index 16c612b..6bd6de5 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -1,22 +1,21 @@ name: Luarocks on: + pull_request: # Tests packaging on PR + workflow_dispatch: push: tags: - '*' - release: - types: - - created - pull_request: # Tests packaging on PR - workflow_dispatch: jobs: luarocks-upload: runs-on: ubuntu-22.04 steps: + - name: Checkout - uses: actions/checkout@v4 with: fetch-depth: 0 # Required to get the tags + - name: Get Version run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV diff --git a/.gitignore b/.gitignore index ee6098a..fe46ce4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,2 @@ -*.cast *.gif -*.json -medium.md -large.md -test.md -test.log +/temp/ diff --git a/CHANGELOG.md b/CHANGELOG.md index d05f302..3576a61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,14 @@ [726c85c](https://github.com/MeanderingProgrammer/markdown.nvim/commit/726c85cb9cc6d7d9c85af6ab093e1ee53b5e3c82). - Ultimately removed in TODO +### Bug Fixes + +- Block code rendering with transparent background [#102](https://github.com/MeanderingProgrammer/markdown.nvim/pull/102) + +### Collaborator Shoutouts + +- @scottmckendry + ## 5.0.0 (2024-07-27) ### ⚠ BREAKING CHANGES diff --git a/README.md b/README.md index f35a73b..d1dfd87 100644 --- a/README.md +++ b/README.md @@ -75,10 +75,12 @@ Plugin to improve viewing Markdown files in Neovim ## rocks.nvim -```vimscript +```vim :Rocks install markdown.nvim ``` +- [luarocks.org](https://luarocks.org/modules/MeanderingProgrammer/markdown.nvim) + ## packer.nvim ```lua diff --git a/doc/render-markdown.txt b/doc/render-markdown.txt index c9a4e5d..88c9011 100644 --- a/doc/render-markdown.txt +++ b/doc/render-markdown.txt @@ -1,4 +1,4 @@ -*render-markdown.txt* For 0.10.0 Last change: 2024 July 27 +*render-markdown.txt* For 0.10.0 Last change: 2024 July 29 ============================================================================== Table of Contents *render-markdown-table-of-contents* @@ -103,10 +103,12 @@ LAZY.NVIM *render-markdown-install-lazy.nvim* ROCKS.NVIM *render-markdown-install-rocks.nvim* ->vimscript +>vim :Rocks install markdown.nvim < +- luarocks.org + PACKER.NVIM *render-markdown-install-packer.nvim* diff --git a/doc/todo.md b/doc/todo.md index 49291ed..6de1be3 100644 --- a/doc/todo.md +++ b/doc/todo.md @@ -5,3 +5,4 @@ - Add a performance test suite to measure improvements, relative value on same hardware should still be useful. - Figure out how to display the many configuration options & impact +- Potentially change LuaRocks icon dependency to [mini.icons](https://luarocks.org/modules/neorocks/mini.icons) diff --git a/justfile b/justfile index 375be1b..ee68031 100644 --- a/justfile +++ b/justfile @@ -52,10 +52,10 @@ cat-log: cat ~/.local/state/nvim/render-markdown.log gen-medium: - just gen-file "1000" > medium.md + just gen-file "1000" > temp/medium.md gen-large: - just gen-file "100000" > large.md + just gen-file "100000" > temp/large.md [private] gen-file lines: diff --git a/temp/.gitkeep b/temp/.gitkeep new file mode 100644 index 0000000..e69de29