From 5566076ebb539a7d72dd64af257413fd4dde6157 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Tue, 3 May 2022 14:36:43 +0200 Subject: chore(ci): fix failing plugins-update action --- .github/workflows/plugins.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml index d84c6b36..3df32105 100644 --- a/.github/workflows/plugins.yml +++ b/.github/workflows/plugins.yml @@ -33,7 +33,7 @@ jobs: uses: rhysd/action-setup-vim@v1 with: neovim: true - version: v0.7 + version: v0.7.0 - name: Install LunarVim timeout-minutes: 4 -- cgit v1.2.3 From 15da6658c8ba815f19dee802ff52c25c2ffe266c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez=20Rivero?= Date: Sun, 15 May 2022 15:58:53 +0200 Subject: chore: update templates (#2610) * fix: update general-issue-form.yaml * chore: update templates Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/general-issue-form.yaml | 30 ++++++++++++++------- .github/ISSUE_TEMPLATE/lsp-issue-form.yaml | 36 ++++++++++++++++---------- .github/pull_request_template.md | 24 ++++++++--------- 3 files changed, 54 insertions(+), 36 deletions(-) (limited to '.github') diff --git a/.github/ISSUE_TEMPLATE/general-issue-form.yaml b/.github/ISSUE_TEMPLATE/general-issue-form.yaml index fcf22684..be1dce81 100644 --- a/.github/ISSUE_TEMPLATE/general-issue-form.yaml +++ b/.github/ISSUE_TEMPLATE/general-issue-form.yaml @@ -23,7 +23,7 @@ body: validations: required: true - type: input - id: lunar-vim-version + id: version attributes: label: LunarVim version placeholder: | @@ -36,26 +36,36 @@ body: label: Neovim version (>= 0.7) description: "Output of `nvim --version`" placeholder: | - NVIM v0.7-dev+209-g0603eba6e - Build type: Release - LuaJIT 2.1.0-beta3 + NVIM v0.8.0-dev+199-g2875d45e7 validations: required: true - type: input + id: system-version attributes: label: "Operating system/version" placeholder: "macOS 11.5" validations: required: true - type: textarea - id: logs + id: steps attributes: - label: Relevant log output + label: "Steps to reproduce" + description: "Steps to reproduce using the minimal config." placeholder: | - :checkhealth - :messages - :e $LUNARVIM_CACHE/DIR/lvim.log - render: shell + 1. `nvim -u ~/.local/share/lunarvim/lvim/tests/minimal_lsp.lua` + 2. ... + - type: textarea + id: support-info + attributes: + label: support info + description: Information from LspInfo and LvimInfo + placeholder: | + ```console + # :LspInfo + ``` + ```console + # :LvimInfo + ``` validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml b/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml index 6b326b26..e8079ffa 100644 --- a/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml +++ b/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml @@ -17,7 +17,7 @@ body: validations: required: true - type: input - id: lunar-vim-version + id: version attributes: label: LunarVim version placeholder: | @@ -30,18 +30,18 @@ body: label: Neovim version (>= 0.7) description: "Output of `nvim --version`" placeholder: | - NVIM v0.7-dev+209-g0603eba6e - Build type: Release - LuaJIT 2.1.0-beta3 + NVIM v0.8.0-dev+199-g2875d45e7 validations: required: true - type: input + id: system-version attributes: label: "Operating system/version" placeholder: "macOS 11.5" validations: required: true - type: input + id: servers attributes: label: "Affected language servers" description: "If this issue is specific to one or more language servers, list them here. If not, write 'all'." @@ -49,6 +49,7 @@ body: validations: required: true - type: textarea + id: steps attributes: label: "Steps to reproduce" description: "Steps to reproduce using the minimal config." @@ -56,30 +57,37 @@ body: 1. `nvim -u ~/.local/share/lunarvim/lvim/tests/minimal_lsp.lua` 2. ... - type: textarea + id: behavior attributes: label: "Actual behavior" description: "Observed behavior." validations: required: true - type: textarea + id: expected-behavior attributes: label: "Expected behavior" description: "A description of the behavior you expected." - type: textarea - id: logs + id: support-info attributes: - label: log and support info + label: support info + description: Information from LspInfo and LvimInfo placeholder: | - :LspInfo - :LvimInfo - :messages - :checkhealth - :e $LUNARVIM_CACHE/DIR/lsp.log - :e $LUNARVIM_CACHE/DIR/lvim.log - :e $LUNARVIM_CACHE/DIR/log - render: shell + ```console + # :LspInfo + ``` + ```console + # :LvimInfo + ``` validations: required: true + - type: textarea + id: lsp-logs + attributes: + label: logs + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: console - type: textarea id: screenshots attributes: diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 7b3a25f3..48782e51 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,12 +1,12 @@ # Description -Please include a summary of the change and which issue is fixed. \ -List any dependencies that are required for this change. +summary of the change -Fixes #(issue) + -## How Has This Been Tested? +fixes #(issue) -Please describe the tests that you ran to verify your changes. \ -Provide instructions so we can reproduce. \ -Please also list any relevant details for your test configuration. +## How Has This Been Tested? + + + - Run command `:mycommand` - Check logs - ... -- cgit v1.2.3 From 23df368b00bda0ed4a01fac92f7ad80998c1d34a Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sat, 21 May 2022 16:48:47 +0200 Subject: refactor: load the default options once (#2592) BREAKING CHANGE: modifying the default options for keymaps and autocmds is now done by overwriting them, since they won't be loaded into the global `lvim` table anymore * refactor: use the lua-commands api * refactor!: use the lua-autocmds api * fix(settings): let neovim handle spellfile * feat: add log:set_log_level() * chore: update examples * chore: add deprecation notice for custom_groups --- .github/workflows/commitlint.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.github') diff --git a/.github/workflows/commitlint.config.js b/.github/workflows/commitlint.config.js index 06cc7866..53ec4b76 100644 --- a/.github/workflows/commitlint.config.js +++ b/.github/workflows/commitlint.config.js @@ -32,4 +32,15 @@ module.exports = { ], ], }, + /* + add a custom parser to handle exclamation marks in a commit + see: https://github.com/conventional-changelog/commitlint/issues/2226#issuecomment-911749509 + */ + parserPreset: { + parserOpts: { + headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/, + referenceActions: null, + issuePrefixes: ['ISS-'], + }, + }, }; -- cgit v1.2.3