Skip to content

Commit dd024e1

Browse files
committed
feat(all): initial release
1 parent 783ebaa commit dd024e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2219
-13080
lines changed

.dependencies/busted

Lines changed: 0 additions & 1 deletion
This file was deleted.

.dependencies/luassert

Lines changed: 0 additions & 1 deletion
This file was deleted.

.dependencies/luvit-meta

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/ColinKennedy/nvim-best-practices-plugin-template/discussions
4+
url: https://github.com/ColinKennedy/cursor-text-objects.nvim/discussions
55
about: Use Github discussions instead

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
**Before** reporting an issue, make sure to read the [documentation](https://github.com/ColinKennedy/nvim-best-practices-plugin-template)
10-
and search [existing issues](https://github.com/ColinKennedy/nvim-best-practices-plugin-template/issues) (even the [closed issues](https://github.com/ColinKennedy/nvim-best-practices-plugin-template/issues?q=is%3Aissue+is%3Aclosed))
9+
**Before** reporting an issue, make sure to read the [documentation](https://github.com/ColinKennedy/cursor-text-objects.nvim)
10+
and search [existing issues](https://github.com/ColinKennedy/cursor-text-objects.nvim/issues) (even the [closed issues](https://github.com/ColinKennedy/cursor-text-objects.nvim/issues?q=is%3Aissue+is%3Aclosed))
1111
12-
Usage questions such as ***"How do I...?"*** belong in [Discussions](https://github.com/ColinKennedy/nvim-best-practices-plugin-template/discussions) and will be closed.
12+
Usage questions such as ***"How do I...?"*** belong in [Discussions](https://github.com/ColinKennedy/cursor-text-objects.nvim/discussions) and will be closed.
1313
- type: checkboxes
1414
attributes:
1515
label: Did you read the documentation and check existing issues?
1616
description: Make sure you checked and all of the below before submitting an issue
1717
options:
18-
- label: I have read all the [`:help plugin-template`](https://github.com/ColinKennedy/nvim-best-practices-plugin-template/blob/main/doc/my-template-docs.txt) documentation
18+
- label: I have read all the [`:help cursor-text-objects`](https://github.com/ColinKennedy/cursor-text-objects.nvim/blob/main/doc/my-template-docs.txt) documentation
1919
required: true
2020
- label: I have updated the plugin to the latest version before submitting this issue
2121
required: true
22-
- label: I have searched the [existing issues](https://github.com/ColinKennedy/nvim-best-practices-plugin-template/issues) and [closed issues](https://github.com/ColinKennedy/nvim-best-practices-plugin-template/issues?q=is%3Aissue+is%3Aclosed) issues
22+
- label: I have searched the [existing issues](https://github.com/ColinKennedy/cursor-text-objects.nvim/issues) and [closed issues](https://github.com/ColinKennedy/cursor-text-objects.nvim/issues?q=is%3Aissue+is%3Aclosed) issues
2323
required: true
2424
- type: input
2525
attributes:
@@ -58,12 +58,12 @@ body:
5858
- type: textarea
5959
attributes:
6060
label: Health
61-
description: Attach the output of `:checkhealth plugin_template` here
61+
description: Attach the output of `:checkhealth cursor_text_objects` here
6262
render: log
6363
- type: textarea
6464
attributes:
6565
label: Log
66-
description: Please enable logging with `vim.g.plugin_template_configuration = {logging = {level = "debug", use_file = true}}` and attach the contents of `~/.local/share/nvim` here or call `:PluginTemplate copy-logs`
66+
description: Please enable logging with `vim.g.cursor_text_objects_configuration = {logging = {level = "debug", use_file = true}}` and attach the contents of `~/.local/share/nvim` here or call `:CursorTextObjects copy-logs`
6767
render: log
6868
- type: textarea
6969
attributes:
@@ -77,7 +77,7 @@ body:
7777
spec = {
7878
{
7979
-- Add anything you need here (configuration, other plugins, etc)
80-
"ColinKennedy/nvim-best-practices-plugin-template",
80+
"ColinKennedy/cursor-text-objects.nvim",
8181
},
8282
})
8383
render: lua

.github/workflows/.luarc.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
"diagnostics.libraryFiles": "Disable",
33
"runtime.version": "LuaJIT",
44
"workspace.checkThirdParty": "Disable",
5-
"workspace.ignoreDir": [".lua", ".luarocks"],
5+
"workspace.ignoreDir": [".dependencies", ".lua", ".luarocks"],
66
"workspace.library": [
77
"$PWD/.dependencies/busted/library",
88
"$PWD/.dependencies/luassert/library",
99
"$PWD/.dependencies/luvit-meta/library",
10-
"$VIMRUNTIME/lua",
11-
"lua"
10+
"$VIMRUNTIME/lua"
1211
]
1312
}

.github/workflows/documentation.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,10 @@ jobs:
1818
neovim: true
1919
version: stable
2020

21-
- name: Create API Documentation
22-
run: |
23-
nvim --version
24-
make api_documentation
25-
2621
- name: Create User Documentation
2722
uses: kdheepak/panvimdoc@main
2823
with:
29-
vimdoc: plugin-template
24+
vimdoc: cursor-text-objects
3025
version: "Neovim >= 0.8.0"
3126
demojify: true
3227
treesitter: true

.github/workflows/llscheck.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@master
19-
with:
20-
submodules: true # Ensure submodules are checked out
21-
22-
- name: Update Submodules
23-
run: git submodule update --init --recursive
2419

2520
- uses: rhysd/action-setup-vim@v1
2621
# NOTE: We need Neovim installed in order to expose the $VIMRUNTIME
@@ -49,7 +44,26 @@ jobs:
4944
- name: Install llscheck
5045
run: |
5146
luarocks install llscheck
47+
luarocks install nlua
48+
49+
- name: Clone dependencies - busted
50+
uses: actions/checkout@v4
51+
with:
52+
repository: "LuaCATS/busted"
53+
path: ".dependencies/busted"
54+
55+
- name: Clone dependencies - luassert
56+
uses: actions/checkout@v4
57+
with:
58+
repository: "LuaCATS/luassert"
59+
path: ".dependencies/luassert"
60+
61+
- name: Clone dependencies - luavit-meta
62+
uses: actions/checkout@v4
63+
with:
64+
repository: "Bilal2453/luvit-meta"
65+
path: ".dependencies/luvit-meta"
5266

5367
- name: test
5468
run: |
55-
VIMRUNTIME=`nvim -l scripts/print_vimruntime_environment_variable.lua` llscheck --configpath .github/workflows/.luarc.json .
69+
VIMRUNTIME=`nlua -e 'io.write(os.getenv("VIMRUNTIME"))'` llscheck --configpath .github/workflows/.luarc.json .

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: build
4343
run: |
44-
luarocks test plugin-template-scm-1.rockspec --prepare
44+
luarocks test cursor-text-objects-scm-1.rockspec --prepare
4545
4646
- name: test
4747
run: |

.gitmodules

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +0,0 @@
1-
[submodule ".dependencies/busted"]
2-
path = .dependencies/busted
3-
url = git@github.com:LuaCATS/busted.git
4-
[submodule ".dependencies/luassert"]
5-
path = .dependencies/luassert
6-
url = git@github.com:LuaCATS/luassert.git
7-
[submodule ".dependencies/luvit-meta"]
8-
path = .dependencies/luvit-meta
9-
url = git@github.com:Bilal2453/luvit-meta.git

0 commit comments

Comments
 (0)