-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
847 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
name: Non-package-related issue | ||
description: Report an issue not related to installation or usage of packages | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
# Issue reporting guidelines | ||
1. This is not a general support board for package usage questions (e.g. "How do I do X?"). For questions, please refer to [the discussion board](https://github.com/williamboman/mason.nvim/discussions/categories/q-a) first! :) | ||
1. Before reporting an issue, make sure that you meet the minimum requirements mentioned in the README. Also review `:checkhealth mason` for potential problems. | ||
--- | ||
- type: checkboxes | ||
attributes: | ||
label: I've searched open issues for similar requests | ||
description: If possible, please contribute to any [open issues](https://github.com/williamboman/mason.nvim/issues?q=is%3Aissue) instead of opening a new one. | ||
options: | ||
- label: "Yes" | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: I've recently downloaded the latest plugin version of mason.nvim | ||
options: | ||
- label: "Yes" | ||
|
||
- type: textarea | ||
attributes: | ||
label: Problem description | ||
description: A clear and short description of 1) what the issue is, and 2) why you think it's an issue with mason.nvim. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected behavior | ||
description: A short description of the behavior you expected. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
placeholder: | | ||
1. ... | ||
2. ... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Neovim version (>= 0.7)" | ||
description: "Output of `nvim --version`" | ||
placeholder: | | ||
NVIM v0.7.0-dev | ||
Build type: Release | ||
LuaJIT 2.1.0-beta3 | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: "Operating system/version" | ||
description: "On Linux and Mac systems: `$ uname -a`" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Healthcheck output | ||
placeholder: ":checkhealth mason" | ||
render: shell | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Screenshots | ||
description: If applicable, add screenshots to help explain your problem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,71 @@ | ||
name: docgen (oneday) | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
name: docs | ||
|
||
jobs: | ||
steps: | ||
- name: empty | ||
run: echo "empty" | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: panvimdoc | ||
uses: kdheepak/panvimdoc@main | ||
with: | ||
vimdoc: word.lua | ||
version: "Neovim >= 0.10.0" | ||
demojify: true | ||
treesitter: true | ||
- name: Push changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "auto-generate vimdoc" | ||
commit_user_name: "github-actions[bot]" | ||
commit_user_email: "github-actions[bot]@users.noreply.github.com" | ||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>" | ||
# name: docgen | ||
|
||
# on: | ||
# push: | ||
# branches: | ||
# - master | ||
|
||
# jobs: | ||
# docgen: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# token: ${{ secrets.GH_TOKEN }} | ||
# - uses: actions/setup-go@v5 | ||
# with: | ||
# go-version: '^1.17.1' | ||
# - name: Install md2vim | ||
# run: go install git.foosoft.net/alex/md2vim@latest | ||
# - name: Install Neovim | ||
# uses: rhysd/action-setup-vim@v1 | ||
# id: neovim | ||
# with: | ||
# neovim: true | ||
# version: v0.9.5 | ||
# - name: Install lemmy-help | ||
# run: | | ||
# curl -Lq https://github.com/numToStr/lemmy-help/releases/latest/download/lemmy-help-x86_64-unknown-linux-gnu.tar.gz | tar xz | ||
# echo "$PWD" >> $GITHUB_PATH | ||
# - name: Generate api docs | ||
# run: make api_docs | ||
# - name: Generate vim docs | ||
# run: make docs | ||
# - name: Commit changes | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# COMMIT_MSG: | | ||
# [docgen] Update docs | ||
# run: | | ||
# rm lemmy-help | ||
# git config user.name github-actions | ||
# git config user.email [email protected] | ||
# git add doc/orgmode.txt | ||
# git add doc/orgmode_api.txt | ||
# # Only commit and push if we have changes | ||
# git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
release: | ||
name: release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
id: release | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
release-type: simple | ||
package-name: word.lua | ||
extra-files: | | ||
README.md | ||
lua/word/util/version.lua | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: rickstaa/action-create-tag@v1 | ||
if: ${{ steps.release.outputs.release_created }} | ||
with: | ||
tag: stable | ||
message: "Stable release: ${{ steps.release.outputs.tag_name }}" | ||
force_push_tag: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,28 @@ | ||
std = luajit | ||
cache = true | ||
codes = true | ||
self = false | ||
|
||
exclude_files = { | ||
"_neovim/*", | ||
"_runtime/*" | ||
} | ||
|
||
read_globals = { | ||
"vim" | ||
} | ||
-- Global objects | ||
globals = { | ||
"_", | ||
"vim", | ||
"dorm", | ||
"word", | ||
"log", | ||
} | ||
|
||
std = "max+busted" | ||
|
||
ignore = { | ||
"631", -- max_line_length | ||
"212", | ||
"122" | ||
} | ||
|
||
-- Don't report unused self arguments of methods. | ||
self = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
blanks_around_headings: | ||
lines_below: 0 | ||
ul_style: { style: sublist } | ||
# not autofixable | ||
ol-prefix: { style: ordered } | ||
line-length: | ||
tables: false | ||
code_blocks: false | ||
no-inline-html: | ||
allowed_elements: [img, details, summary, kbd, a, br] | ||
|
||
#───────────────────────────────────────────────────────────────────────────── | ||
# DISABLED | ||
ul-indent: false # not compatible with using tabs | ||
no-hard-tabs: false # taken care of by editorconfig | ||
blanks-around-lists: false # space waster | ||
first-line-heading: false # e.g., ignore-comments | ||
no-emphasis-as-heading: false # sometimes useful |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"neoconf": { | ||
"global_settings": "neoconf.json", | ||
"import": {}, | ||
"plugins": { | ||
"lua_ls": { | ||
"enabled_for_neovim_config": true, | ||
"enabled": true | ||
} | ||
} | ||
}, | ||
"lspconfig": { | ||
"lua_ls": { | ||
"Lua.workspace.checkThirdParty": true, | ||
"Lua.runtime.version": "LuaJIT" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
description = "word.lua"; | ||
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | ||
}; | ||
|
||
outputs = { self, nixpkgs }: { | ||
|
||
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello; | ||
|
||
packages.x86_64-linux.default = self.packages.x86_64-linux.hello; | ||
|
||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
all: slint llint clean | ||
|
||
slint : | ||
stylua --check . | ||
|
||
clean: | ||
find --glob '*-E' -x rm | ||
|
||
llint: | ||
luacheck . | ||
|
||
|
||
version: | ||
echo "0.1.0" |
Oops, something went wrong.