Regenerate nvim config
This commit is contained in:
6
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/CODEOWNERS
vendored
Normal file
6
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/CODEOWNERS
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
* @glepnir
|
||||
|
||||
/.github/ @dundargoc
|
||||
|
||||
/flake.lock @teto
|
||||
/flake.nix @teto
|
||||
16
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
16
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: Bug report
|
||||
description: Report a problem in nvim-lspconfig
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Do NOT file bugs in this repo. The configs in this repo are unsupported and provided only as a starting point. We depend on users (like you) to troubleshoot issues with their specific LSP setups and [send improvements](https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md).
|
||||
|
||||
If you have a feature request or found a bug in the core Nvim `vim.lsp` module (not this repo), [report it to Nvim](https://github.com/neovim/neovim/issues/new?assignees=&labels=bug%2Clsp&projects=&template=lsp_bug_report.yml).
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: "Description"
|
||||
description: "A short description of the problem you are reporting."
|
||||
validations:
|
||||
required: true
|
||||
5
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Question
|
||||
url: https://vi.stackexchange.com/
|
||||
about: Usage questions and support requests
|
||||
@ -0,0 +1,5 @@
|
||||
---
|
||||
name: Pull Request
|
||||
about: Submit a pull request
|
||||
title: ''
|
||||
---
|
||||
16
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/ci/run_sanitizer.sh
vendored
Normal file
16
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/ci/run_sanitizer.sh
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
REF_BRANCH="$1"
|
||||
PR_BRANCH="$2"
|
||||
|
||||
# checks for added lines that contain search pattern and prints them
|
||||
SEARCH_PATTERN="(dirname|fn\.cwd)"
|
||||
|
||||
if git diff --pickaxe-all -U0 -G "${SEARCH_PATTERN}" "${REF_BRANCH}" "${PR_BRANCH}" -- '*.lua' | grep -Ev '(configs|utils)\.lua$' | grep -E "^\+.*${SEARCH_PATTERN}" ; then
|
||||
echo
|
||||
echo 'String "dirname" found. There is a high risk that this might contradict the directive:'
|
||||
echo '"Do not add vim.fn.cwd or util.path.dirname in root_dir".'
|
||||
echo "see: https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#adding-a-server-to-lspconfig."
|
||||
exit 1
|
||||
fi
|
||||
8
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/dependabot.yml
vendored
Normal file
8
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
commit-message:
|
||||
prefix: "ci"
|
||||
11
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/codespell.yml
vendored
Normal file
11
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/codespell.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
name: codespell
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
codespell:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install codespell
|
||||
run: pip install codespell
|
||||
- name: Use codespell
|
||||
run: codespell --quiet-level=2 --check-hidden --skip=./doc/server_configurations.md,./doc/server_configurations.txt --ignore-words=.codespellignorewords
|
||||
19
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/comment-config-changes.yml
vendored
Normal file
19
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/comment-config-changes.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: "Check changes to config"
|
||||
on: [pull_request_target]
|
||||
jobs:
|
||||
check-config-changes:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
env:
|
||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- run: |
|
||||
if ! git diff origin/$GITHUB_BASE_REF...$(git branch --show-current) --exit-code -- doc/server_configurations.md doc/server_configurations.txt; then
|
||||
gh pr comment $PR_NUMBER --body 'Note that `server_configurations.md` or `server_configurations.txt` will be regenerated by the docgen CI process. Edit the Lua source file instead. For details on generating documentation, see: https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#generating-docs'
|
||||
fi
|
||||
12
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/commit_lint.yml
vendored
Normal file
12
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/commit_lint.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
lint-commits:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: npm install --save-dev @commitlint/{cli,config-conventional}
|
||||
- run: |
|
||||
echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
|
||||
- run: npx commitlint --from HEAD~1 --to HEAD --verbose
|
||||
32
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/docgen.yml
vendored
Normal file
32
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/docgen.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: docgen
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
docgen:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: rhysd/action-setup-vim@v1
|
||||
with:
|
||||
neovim: true
|
||||
version: nightly
|
||||
- name: Run docgen
|
||||
run: |
|
||||
scripts/docgen.sh
|
||||
- name: Commit changes
|
||||
env:
|
||||
COMMIT_MSG: |
|
||||
docs: update server_configurations.md
|
||||
skip-checks: true
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add doc/server_configurations.md doc/server_configurations.txt
|
||||
# Only commit and push if we have changes
|
||||
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
|
||||
37
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/lint.yml
vendored
Normal file
37
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run luacheck
|
||||
uses: lunarmodules/luacheck@v1
|
||||
with:
|
||||
args: lua/* test/*
|
||||
|
||||
- name: Run selene
|
||||
uses: NTBBloodbath/selene-action@v1.0.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --display-style=quiet .
|
||||
|
||||
style-lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Lint with stylua
|
||||
uses: JohnnyMorganz/stylua-action@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: latest
|
||||
args: --check .
|
||||
30
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/problem_matchers/selene.json
vendored
Normal file
30
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/problem_matchers/selene.json
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "selene-error",
|
||||
"severity": "error",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^([^:]+):(\\d+):(\\d+):\\serror(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"message": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "selene-warning",
|
||||
"severity": "warning",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^([^:]+):(\\d+):(\\d+):\\swarning(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"message": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
21
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/release.yml
vendored
Normal file
21
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: "release"
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
jobs:
|
||||
luarocks-upload:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: LuaRocks Upload
|
||||
uses: nvim-neorocks/luarocks-tag-release@v5
|
||||
env:
|
||||
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
|
||||
with:
|
||||
summary: "A collection of common configurations for Neovim's built-in language server client."
|
||||
detailed_description: |
|
||||
This plugin allows for declaratively configuring,
|
||||
launching, and initializing language servers you have installed on your system.
|
||||
Language server configurations are community-maintained.
|
||||
licence: "Apache/2.0"
|
||||
14
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/sanitizer.yml
vendored
Normal file
14
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/sanitizer.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: "Dirname Checker"
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
disallowed-root-checker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- run: |
|
||||
if ! bash .github/ci/run_sanitizer.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}; then
|
||||
exit 1
|
||||
fi
|
||||
36
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/test.yml
vendored
Normal file
36
config/neovim/store/lazy-plugins/nvim-lspconfig/.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Run Test
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: rhysd/action-setup-vim@v1
|
||||
id: vim
|
||||
with:
|
||||
neovim: true
|
||||
version: nightly
|
||||
|
||||
- name: luajit
|
||||
uses: leafo/gh-actions-lua@v10
|
||||
with:
|
||||
luaVersion: "luajit-2.1.0-beta3"
|
||||
|
||||
- name: luarocks
|
||||
uses: leafo/gh-actions-luarocks@v4
|
||||
|
||||
- name: run test
|
||||
shell: bash
|
||||
run: |
|
||||
luarocks install luacheck
|
||||
luarocks install vusted
|
||||
vusted ./test
|
||||
Reference in New Issue
Block a user