Refresh generated nvim config
This commit is contained in:
109
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
109
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@ -0,0 +1,109 @@
|
||||
name: Bug Report
|
||||
description: File a bug / issue.
|
||||
title: "BUG: "
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
**Before** reporting an issue, make sure to read [`:h neo-tree.txt`](https://github.com/nvim-neo-tree/neo-tree.nvim/blob/v2.x/doc/neo-tree.txt) and search [existing issues](https://github.com/nvim-neo-tree/neo-tree.nvim/issues). Usage questions such as ***"How do I...?"*** belong in [Discussions](https://github.com/nvim-neo-tree/neo-tree.nvim/discussions) and will be closed.
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Did you check docs and existing issues?
|
||||
description: Make sure you checked all of the below before submitting an issue
|
||||
options:
|
||||
- label: I have read all the docs.
|
||||
required: true
|
||||
- label: I have searched the existing issues.
|
||||
required: true
|
||||
- label: I have searched the existing discussions.
|
||||
required: true
|
||||
- type: input
|
||||
attributes:
|
||||
label: "Neovim Version (nvim -v)"
|
||||
placeholder: "0.8.0 commit db1b0ee3b30f"
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
attributes:
|
||||
label: "Operating System / Version"
|
||||
placeholder: "MacOS 11.5"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Describe the Bug
|
||||
description: A clear and concise description of what the bug is. Please include any related errors you see in Neovim.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Screenshots, Traceback
|
||||
description: Screenshot and traceback if exists. Not required.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Steps to Reproduce
|
||||
description: Steps to reproduce the behavior. Describe with the exact commands and keypresses.
|
||||
placeholder: |
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Expected Behavior
|
||||
description: A concise description of what you expected to happen.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Your Configuration
|
||||
description: Minimal `init.lua` to reproduce this issue. Save as `repro.lua` and run with `nvim -u repro.lua`
|
||||
value: |
|
||||
-- DO NOT change the paths and don't remove the colorscheme
|
||||
local root = vim.fn.fnamemodify("./.repro", ":p")
|
||||
|
||||
-- set stdpaths to use .repro
|
||||
for _, name in ipairs({ "config", "data", "state", "cache" }) do
|
||||
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
|
||||
end
|
||||
|
||||
-- bootstrap lazy
|
||||
local lazypath = root .. "/plugins/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
|
||||
end
|
||||
vim.opt.runtimepath:prepend(lazypath)
|
||||
|
||||
-- install plugins
|
||||
local plugins = {
|
||||
"folke/tokyonight.nvim",
|
||||
-- add any other plugins here
|
||||
}
|
||||
|
||||
local neotree_config = {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-tree/nvim-web-devicons", "nvim-lua/plenary.nvim" },
|
||||
cmd = { "Neotree" },
|
||||
keys = {
|
||||
{ "<Leader>e", "<Cmd>Neotree<CR>" }, -- change or remove this line if relevant.
|
||||
},
|
||||
opts = {
|
||||
-- Your config here
|
||||
-- ...
|
||||
},
|
||||
}
|
||||
|
||||
table.insert(plugins, neotree_config)
|
||||
require("lazy").setup(plugins, {
|
||||
root = root .. "/plugins",
|
||||
})
|
||||
|
||||
vim.cmd.colorscheme("tokyonight")
|
||||
-- add anything else here
|
||||
render: Lua
|
||||
validations:
|
||||
required: true
|
||||
36
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
36
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: Feature Request
|
||||
description: Suggest a new feature.
|
||||
title: "FEATURE: "
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Did you check the docs?
|
||||
description: Make sure you read all the docs before submitting a feature request.
|
||||
options:
|
||||
- label: I have read all the docs.
|
||||
required: true
|
||||
- type: textarea
|
||||
validations:
|
||||
required: true
|
||||
attributes:
|
||||
label: Is your feature request related to a problem? Please describe.
|
||||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
- type: textarea
|
||||
validations:
|
||||
required: true
|
||||
attributes:
|
||||
label: Describe the solution you'd like.
|
||||
description: A clear and concise description of what you want to happen.
|
||||
- type: textarea
|
||||
validations:
|
||||
required: false
|
||||
attributes:
|
||||
label: Describe alternatives you've considered.
|
||||
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||
- type: textarea
|
||||
validations:
|
||||
required: false
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Add any other context or screenshots about the feature request here.
|
||||
73
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/workflows/ci.yml
vendored
Normal file
73
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- v1.x
|
||||
- v2.x
|
||||
- v3.x
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
stylua-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Check formatting
|
||||
uses: JohnnyMorganz/stylua-action@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: v0.16.0
|
||||
args: --color always --check -g '!**/defaults.lua' lua/
|
||||
|
||||
plenary-tests:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: date +%F > todays-date
|
||||
- name: Restore cache for today's nightly.
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: build
|
||||
key: ${{ runner.os }}-appimage-${{ hashFiles('todays-date') }}
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
test -d build || {
|
||||
mkdir -p build
|
||||
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
chmod +x nvim.appimage
|
||||
mv nvim.appimage ./build/nvim
|
||||
}
|
||||
|
||||
# - name: Get Luver Cache Key
|
||||
# id: luver-cache-key
|
||||
# env:
|
||||
# CI_RUNNER_OS: ${{ runner.os }}
|
||||
# run: |
|
||||
# echo "::set-output name=value::${CI_RUNNER_OS}-luver-v1-$(date -u +%Y-%m-%d)"
|
||||
# shell: bash
|
||||
# - name: Setup Luver Cache
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.local/share/luver
|
||||
# key: ${{ steps.luver-cache-key.outputs.value }}
|
||||
|
||||
# - name: Setup Lua
|
||||
# uses: MunifTanjim/luver-action@v1
|
||||
# with:
|
||||
# default: 5.1.5
|
||||
# lua_versions: 5.1.5
|
||||
# luarocks_versions: 5.1.5:3.8.0
|
||||
# - name: Setup luacov
|
||||
# run: |
|
||||
# luarocks install luacov
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
export PATH="${PWD}/build/:${PATH}"
|
||||
./scripts/test.sh
|
||||
|
||||
# - name: Upload coverage to Codecov
|
||||
# uses: codecov/codecov-action@v2
|
||||
29
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/workflows/luarocks.yml
vendored
Normal file
29
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/workflows/luarocks.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
name: Push to Luarocks
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
pull_request: # Will test the luarocks installation on PR, without uploading
|
||||
|
||||
jobs:
|
||||
luarocks-upload:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0 # Required to count the commits
|
||||
- name: Get Version
|
||||
run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
|
||||
- name: LuaRocks Upload
|
||||
uses: nvim-neorocks/luarocks-tag-release@v5
|
||||
env:
|
||||
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
|
||||
with:
|
||||
version: ${{ env.LUAROCKS_VERSION }}
|
||||
dependencies: |
|
||||
plenary.nvim
|
||||
nvim-web-devicons
|
||||
nui.nvim
|
||||
29
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/workflows/protect_release_branches.yml
vendored
Normal file
29
config/neovim/store/lazy-plugins/neo-tree.nvim/.github/workflows/protect_release_branches.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: No PRs to Release Branches
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the v1.x branch
|
||||
pull_request:
|
||||
types: [opened, edited, ready_for_review]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
check_target:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Runs a single command using the runners shell
|
||||
- name: Fail when targeting v2
|
||||
run: |
|
||||
target=${{ github.base_ref }}
|
||||
echo "Target is: $target"
|
||||
if [[ $target == "v2.x" ]]; then
|
||||
echo "PRs must target main"
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
Reference in New Issue
Block a user