Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
* upstream/master: (139 commits)
  chore: update changelog
  feat(config): allow disabling reload-on-save (LunarVim#3261)
  fix: nil table in breadcrumbs in autocommand (LunarVim#3267)
  docs: Update contributing readme with new url for install docs. (LunarVim#3254)
  fix: disable unsupported asian characters spellchecking (LunarVim#3259)
  fix: copilot background should matcha statusline
  fix: disable gitsigns hunk navigation message (LunarVim#3244)
  chore(plugins): bump version (LunarVim#3248)
  perf(plugins): move assert `vim.env.LVIM_DEV_MODE` logic (LunarVim#3238)
  fix(nvim-cmp-lsp): update_capabilities has been deprecated (LunarVim#3245)
  fix(luadev): this plugin has been renamed (LunarVim#3235)
  fix: don't install desktop file w/o xdg-desktop-menu (LunarVim#3229)
  fix(alpha): check alpha module (LunarVim#3233)
  feat: latest impatient updates from upstream (LunarVim#3236)
  fix: name treesitter source in cmp (LunarVim#3223)
  fix(breadcrumbs): make sure winbar_filetype_exclude is customizable (LunarVim#3221)
  fix: typo in git.lua
  fix: Remove J and K key mappings for move (LunarVim#3206)
  fix(lua-dev): make sure we are loading the correct types (LunarVim#3208)
  chore: bump nvim-tree.lua version to `b01e7be` (LunarVim#3203)
  ...
  • Loading branch information
hexsailor committed Oct 19, 2022
2 parents f07d16c + c015d0f commit 2cb39f7
Show file tree
Hide file tree
Showing 85 changed files with 2,602 additions and 930 deletions.
3 changes: 2 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

github: christianchiarulli
patreon: chrisatmachine

ko_fi: chrisatmachine
custom: ["https://www.buymeacoffee.com/chrisatmachine", "https://www.paypal.com/paypalme/chrisatmachine", "https://strike.me/chrisatmachine"]
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/general-issue-form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body:
- type: input
id: nvim-version
attributes:
label: Neovim version (>= 0.7.2)
label: Neovim version (>= 0.8.0)
description: "Output of `nvim --version`"
placeholder: |
NVIM v0.8.0-dev+199-g2875d45e7
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/lsp-issue-form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
- type: input
id: nvim-version
attributes:
label: Neovim version (>= 0.7)
label: Neovim version (>= 0.8.0)
description: "Output of `nvim --version`"
placeholder: |
NVIM v0.8.0-dev+199-g2875d45e7
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,18 @@ commit_preprocessors = [
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/lunarvim/lunarvim/pull/${2}))"},
]
commit_parsers = [
{ message = "(.*bump|.*Bump)", group = "<!-- 7 --> Miscellaneous Tasks", skip = true},
{ message = "^build", group = "<!-- 0 --> Packaging"},
{ message = "(^feat|^Feat|^\\[Feat)", group = "<!-- 1 --> Features"},
{ message = "(^bug|^Bug|^fix|^\\[Bug)", group = "<!-- 2 --> Bugfix"},
{ message = "(^refactor|^ref)", group = "<!-- 3 --> Refactor"},
{ message = "^doc", group = "<!-- 4 --> Documentation"},
{ message = "^revert", group = "<!-- 5 --> Revert"},
{ message = "^perf", group = "<!-- 6 --> Performance"},
{ message = "^chore", group = "<!-- 7 --> Miscellaneous Tasks", skip = true},
{ message = "(.*[bB]ump)", group = "<!-- 7 --> Miscellaneous Tasks", skip = true},
{ message = "^[bB]uild", group = "<!-- 0 --> Packaging"},
{ message = "(^[fF]eat|^\\[Feat)", group = "<!-- 1 --> Features"},
{ message = "(^[bB]ug|^[Ff]ix|^\\[Bug)", group = "<!-- 2 --> Bugfix"},
{ message = "(^[rR]efactor|^ref)", group = "<!-- 3 --> Refactor"},
{ message = "^[dD]oc", group = "<!-- 4 --> Documentation"},
{ message = "^[rR]evert", group = "<!-- 5 --> Revert"},
{ message = "^[pP]erf", group = "<!-- 6 --> Performance"},
{ message = "^[cC]hore", group = "<!-- 7 --> Miscellaneous Tasks", skip = true},
{ message = "^ci", group = "<!-- 7 --> Miscellaneous Tasks", skip = true},
{ message = "^test", group = "<!-- 7 --> Miscellaneous Tasks", skip = true},
{ message = "[wW]orkflow", group = "<!-- 7 --> Miscellaneous Tasks", skip = true},
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
Expand All @@ -72,6 +73,8 @@ ignore_tags = ""
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"
# protect breaking changes from being skipped due to matching a skipping commit_parser
protect_breaking_commits = false

[features]
preserve_order = ["serde_json/preserve_order"]
22 changes: 22 additions & 0 deletions .github/workflows/close-inactive-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close inactive issues
on:
schedule:
- cron: '30 1 * * *'

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 30
days-before-issue-close: 14
stale-issue-label: 'stale'
stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity.'
close-issue-message: 'This issue was closed because it has been inactive for 14 days since being marked as stale.'
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4
- uses: wagoid/commitlint-github-action@v5
with:
configFile: .github/workflows/commitlint.config.js
helpURL: https://github.com/LunarVim/LunarVim/blob/rolling/CONTRIBUTING.md#commit-messages
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,21 @@ jobs:
name: "Formatting check with Stylua"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Lint with stylua
uses: JohnnyMorganz/stylua-action@1.0.0
uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
version: 0.15.1
args: --check .

shfmt-check:
name: "Formatting check with shfmt"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
include:
- runner: ubuntu-latest
os: linux
neovim: v0.7.0
neovim: v0.8.0
- runner: macos-latest
os: osx
neovim: v0.7.0
neovim: v0.8.0
- runner: ubuntu-22.04
os: linux
neovim: nightly
Expand All @@ -33,13 +33,13 @@ jobs:
neovim: nightly
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install neovim binary from release
env:
RELEASE_VER: ${{ matrix.neovim }}
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
bash ./utils/installer/install-neovim-from-release
- name: Install LunarVim
Expand Down Expand Up @@ -72,13 +72,13 @@ jobs:
shell: pwsh
steps:
# it's not currently possbile to run tests on windows, see nvim-lua/plenary.nvim#255
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install neovim binary
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.7.0
version: v0.8.0

- name: Install LunarVim
timeout-minutes: 4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: "Linting with luacheck"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: leafo/gh-actions-lua@v8
- uses: leafo/gh-actions-luarocks@v4
Expand All @@ -30,7 +30,7 @@ jobs:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/checkout@v3

- name: Install neovim binary
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.7.0
version: nightly

- name: Install LunarVim
timeout-minutes: 4
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
plugin/
dein
tags*
.netrwhist
Expand Down
3 changes: 3 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---@diagnostic disable
-- vim: ft=lua tw=80

stds.nvim = {
globals = {
"lvim",
"reload",
vim = { fields = { "g" } },
"TERMINAL",
"USER",
Expand All @@ -29,6 +31,7 @@ stds.nvim = {
std = "lua51+nvim"

files["tests/*_spec.lua"].std = "lua51+nvim+busted"
files["lua/lvim/impatient*"].ignore = {"121"}

-- Don't report unused self arguments of methods.
self = false
Expand Down
9 changes: 9 additions & 0 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"Lua.diagnostics.disable": [
"redundant-parameter",
"param-type-mismatch",
"missing-parameter"
],
"diagnostics.libraryFiles": "Disable"
}

0 comments on commit 2cb39f7

Please sign in to comment.