Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
clpi committed Nov 16, 2024
0 parents commit 4523e67
Show file tree
Hide file tree
Showing 52 changed files with 14,231 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# global rule
* @clpi
11 changes: 11 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# These are supported funding model platforms

open_collective: # Replace with a single Open Collective username
github: ["clpi"] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username

custom: ["clp.is"]
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Bug Report
description: Report a problem in Neorg
labels: [bug]
body:

- type: checkboxes
id: faq-prerequisite
attributes:
label: Prerequisites
options:
- label: I am using the latest stable release of Neovim
required: true
- label: I am using the latest version of the plugin
required: true

- type: input
attributes:
label: "Neovim Version"
description: "`nvim --version`:"
validations:
required: true

- type: textarea
attributes:
label: "Neorg setup"
description: |
- Copy your entire "require("neorg").setup" function
validations:
required: true

- type: textarea
attributes:
label: "Actual behavior"
description: "A description of actual behavior. Extra points if it includes images or videos."
validations:
required: true

- type: textarea
attributes:
label: "Expected behavior"
description: "A description of the behavior you expected."
validations:
required: true

- type: textarea
attributes:
label: "Steps to reproduce"
description: "Please describe how we can reproduce the issue."
validations:
required: true

- type: textarea
attributes:
label: "Potentially conflicting plugins"
description: "Other plugins you are using which you think could potentially be conflicting with neorg."

- type: textarea
attributes:
label: "Other information"
description: "Other information that could be helpful with debugging."

- type: dropdown
id: help
attributes:
label: "Help"
description: "Would you be able to resolve this issue by submitting a pull request?"
options:
- "Yes"
- "Yes, but I don't know how to start. I would need guidance (check question below)"
- "No"

- type: textarea
attributes:
label: "Implementation help"
description: "If you selected yes in the last question please specify what you would need help with in order to resolve the issue."

4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: Ask a question
url: https://github.com/vhyrro/neorg/discussions
about: If you need help with configuration or something else
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Feature request
description: Request a feature for Neorg
labels: [feature]
body:

- type: checkboxes
id: issue-prerequisite
attributes:
label: Issues
options:
- label: I have checked [existing issues](https://github.com/vhyrro/neorg/issues?q=is%3Aissue) and there are no existing ones with the same request.
required: true

- type: textarea
attributes:
label: "Feature description"
validations:
required: true

- type: dropdown
id: help
attributes:
label: "Help"
description: "Would you be able to implement this by submitting a pull request?"
options:
- "Yes"
- "Yes, but I don't know how to start. I would need guidance"
- "No"
validations:
required: true

- type: textarea
attributes:
label: "Implementation help"
description: "If you selected yes in the last question please specify in detail what you would need help with in order to implement this."
validations:
required: false
29 changes: 29 additions & 0 deletions .github/workflows/luarocks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Push to Luarocks

on:
push:
pull_request:
workflow_dispatch:

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 }}
test_interpreters: ""
dependencies: |
nvim-nio ~> 1.7
lua-utils.nvim == 1.0.2
plenary.nvim == 0.1.4
nui.nvim == 0.3.0
pathlib.nvim ~> 2.2
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/wiki/
/luarocks
/lua_modules
/.luarocks
/.luarc.json
test.norg

# direnv
.direnv

# pre-commit
.pre-commit-config.yaml
Loading

0 comments on commit 4523e67

Please sign in to comment.