You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository is a template for Neovim plugins written in Lua.
4
+
5
+
The intention is that you use this template to create a new repository where you then adapt this readme and add your plugin code.
6
+
The template includes the following:
7
+
8
+
- Github workflows to run linters and tests
9
+
- Minimal test setup
10
+
- editorconfig
11
+
- A .luacheckrc
12
+
13
+
14
+
To get started writing a Lua plugin, I recommend reading the [nvim-lua-guide][nvim-lua-guide].
15
+
16
+
17
+
Things you should avoid:
18
+
19
+
- Automatically setting up global mappings. Instead prefer a `.setup {}` function where users can opt-in to default mappings, or let them configure the mappings on their own.
20
+
- To be extended ...
21
+
22
+
23
+
The remainder of the README is text that can be preserved in your plugin:
24
+
25
+
---
26
+
27
+
28
+
## Development
29
+
30
+
### Run tests
31
+
32
+
33
+
Running tests requires [plenary.nvim][plenary] to be checked out in the parent directory of *this* repository.
0 commit comments