Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugins): added lsp_lines.nvim #33

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,26 @@ jobs:
with:
luaVersion: "5.1"

- name: Checkout plugin repository
# actions/checkout doesn't clone git repos external to github. this is a trick to do so
# https://github.com/actions/checkout/issues/24#issuecomment-1234831235
# - name: override remote if needed
# if: startWith('https', ${{ matrix.plugin.name }})
# run: |
# git config --global url.https://git.sr.ht.insteadOf git://github.com/

- name: Checkout plugin repository from github
if: ${{ startsWith( matrix.plugin.name, 'https://git.sr.ht') == false }}
uses: actions/checkout@v4
with:
repository: ${{ matrix.plugin.name }}
ref: ${{ matrix.plugin.ref }}
path: .

- name: Clone from sr.ht
if: ${{ startsWith(env.REPOSITORY_URL, 'https://git.sr.ht') }}
run: |
git clone ${{ matrix.plugin.ref }}

- run: |
echo "GITHUB_REPOSITORY_OVERRIDE=${{ matrix.plugin.name }}" >> $GITHUB_ENV
echo "GITHUB_SHA_OVERRIDE=$(git rev-parse HEAD)" >> $GITHUB_ENV
Expand All @@ -85,7 +98,7 @@ jobs:
} >> "$GITHUB_OUTPUT"

- name: Publish Development LuaRock
uses: nvim-neorocks/luarocks-tag-release@v7
uses: nvim-neorocks/luarocks-tag-release@teto-ability-override-url
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
Expand Down
7 changes: 7 additions & 0 deletions plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
"summary": "An interactive and powerful Git interface for Neovim, inspired by Magit",
"license": "MIT"
},
{
"name": "https://git.sr.ht/~whynothugo/lsp_lines.nvim",
"shorthand": "lsp_lines.nvim",
"dependencies": [],
"summary": "Renders diagnostics using virtual lines on top of the real line of code.",
"license": "ISC"
},
{
"name": "folke/flash.nvim",
"shorthand": "flash.nvim",
Expand Down
Loading