ellisonleao / nvim-plugin-template Goto Github PK
View Code? Open in Web Editor NEWA neovim plugin template for github repos
License: MIT License
A neovim plugin template for github repos
License: MIT License
None
None
Thanks you for your work.
I create a plugin from you template, and push a commit to github, then the github action run failed.
https://github.com/AbaoFromCUG/rust-tools.nvim/actions/runs/5714642024/job/15482648839
What should I set in my repository?
None
Work right
I like this template and use it for my plugins. It'd be nice if the default CI tests against several neovim versions at the same time, especially since so much API things change in Neovim's nightly version and between minor versions (though we haven't gotten a new Neovim minor in a while). The template does stable and nightly but it'd be good to be able to attribute "this plugin works for X.Y specific Neovim versions" and have the CI directly reflect that.
Add Neovim version matrix testing. It doesn't have to be asdf
but I found a guide that could be useful - https://www.petergundel.de/asdf/ci/github%20actions/matrix%20testing/neovim/2023/11/11/leveraging-asdf-in-github-actions-ci-for-matrix-testing.html
n/a. Maybe https://github.com/MordechaiHadad/bob is possible for neovim installs. Not sure
No response
Why?
This is what I'm using to create a pull request to update the vimdoc
on:
push:
branches:
- main
name: docs
permissions:
pull-requests: write
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: panvimdoc
uses: kdheepak/panvimdoc@main
with:
vimdoc: "<name>"
dedupsubheadings: false
version: "Neovim >= 0.9.4"
demojify: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
base: "main"
.
No response
In #1 we have forgotten to remove vendor from README
This template is great, it saved a lot of time.
There is just one thing I don't understand, which is how to make lua_ls
(language server for lua) understand where to find the code for plenary
. By default plenary
is put into /tmp
.
I tried to create a .luarc.json
to find it but I failed:
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"diagnostics.globals": ["describe", "it"],
"workspace.library": ["?.lua", "?/init.lua", "/tmp/plenary.nvim/lua/plenary/?.lua"]
}
Since the docs of plenary are so limited and the LSP doesn't know anything about the available methods and imports of plenary, it's quite hard to develop locally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.