Skip to content

Commit 5ceae25

Browse files
committed
feat: init commit
0 parents  commit 5ceae25

22 files changed

+554
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*.lua]
4+
end_of_line = lf
5+
charset = utf-8
6+
indent_style = tab
7+
max_line_length = 80
8+
tab_width = 2
9+
trim_trailing_whitespace = true

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: [s1n7ax]# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: s1n7ax # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Bug Report
2+
description: File a bug/issue
3+
title: "bug: "
4+
labels: [bug]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**Before** reporting an issue, make sure to read the documentation and search existing issues. Usage questions such as ***"How do I...?"*** belong in Discussions and will be closed.
10+
- type: checkboxes
11+
attributes:
12+
label: Did you check docs and existing issues?
13+
description: Make sure you checked all of the below before submitting an issue
14+
options:
15+
- label: I have read all the plugin docs
16+
required: true
17+
- label: I have searched the existing issues
18+
required: true
19+
- label: I have searched the existing issues of plugins related to this issue
20+
required: true
21+
- type: input
22+
attributes:
23+
label: "Neovim version (nvim -v)"
24+
placeholder: "0.8.0 commit db1b0ee3b30f"
25+
validations:
26+
required: true
27+
- type: input
28+
attributes:
29+
label: "Operating system/version"
30+
placeholder: "MacOS 11.5"
31+
validations:
32+
required: true
33+
- type: textarea
34+
attributes:
35+
label: Describe the bug
36+
description: A clear and concise description of what the bug is. Please include any related errors you see in Neovim.
37+
validations:
38+
required: true
39+
- type: textarea
40+
attributes:
41+
label: Steps To Reproduce
42+
description: Steps to reproduce the behavior.
43+
placeholder: |
44+
1.
45+
2.
46+
3.
47+
validations:
48+
required: true
49+
- type: textarea
50+
attributes:
51+
label: Expected Behavior
52+
description: A concise description of what you expected to happen.
53+
validations:
54+
required: true
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Feature Request
2+
description: Suggest a new feature
3+
title: "feature: "
4+
labels: [enhancement]
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Did you check the docs?
9+
description: Make sure you read all the docs before submitting a feature request
10+
options:
11+
- label: I have read all the docs
12+
required: true
13+
- type: textarea
14+
validations:
15+
required: true
16+
attributes:
17+
label: Is your feature request related to a problem? Please describe.
18+
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
19+
- type: textarea
20+
validations:
21+
required: true
22+
attributes:
23+
label: Describe the solution you'd like
24+
description: A clear and concise description of what you want to happen.
25+
- type: textarea
26+
validations:
27+
required: true
28+
attributes:
29+
label: Describe alternatives you've considered
30+
description: A clear and concise description of any alternative solutions or features you've considered.
31+
- type: textarea
32+
validations:
33+
required: false
34+
attributes:
35+
label: Additional context
36+
description: Add any other context or screenshots about the feature request here.

.github/workflows/docs.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Vim Doc
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
pull-requests: write
10+
contents: write
11+
12+
jobs:
13+
docs:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: panvimdoc
19+
uses: kdheepak/panvimdoc@main
20+
with:
21+
vimdoc: "nvim-java-refactor"
22+
dedupsubheadings: false
23+
version: "Neovim >= 0.9.4"
24+
demojify: true
25+
26+
- name: create pull request
27+
uses: peter-evans/create-pull-request@v5
28+
with:
29+
base: "main"
30+
commit-message: "chore(doc): automatic vimdoc update"
31+
title: Auto vimdoc update

.github/workflows/lint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: lunarmodules/luacheck@v1
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: LuaRocks Release
2+
on:
3+
push:
4+
tags:
5+
- "v*"
6+
jobs:
7+
luarocks-upload:
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- name: luarocks upload
13+
uses: nvim-neorocks/luarocks-tag-release@v4
14+
env:
15+
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
pull-requests: write
9+
contents: write
10+
11+
jobs:
12+
release:
13+
name: release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: google-github-actions/release-please-action@v4
17+
with:
18+
release-type: simple

.github/workflows/stylua.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Stylua
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
stylua:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: JohnnyMorganz/stylua-action@v3
13+
with:
14+
version: latest
15+
args: --color always --check lua

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
nvim-versions: ["stable", "nightly"]
13+
14+
name: test
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v3
18+
19+
- uses: rhysd/action-setup-vim@v1
20+
with:
21+
neovim: true
22+
version: ${{ matrix.nvim-versions }}
23+
24+
- name: run tests
25+
run: make test

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vendor/plenary.nvim
2+
.test_plugins
3+
.luarc.json

.luacheckrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
globals = {
2+
'vim.o',
3+
'vim.g',
4+
'vim.wo',
5+
'vim.bo',
6+
'vim.opt',
7+
}
8+
read_globals = {
9+
'vim',
10+
'describe',
11+
'it',
12+
'assert',
13+
}

.stylua.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
column_width = 80
2+
line_endings = "Unix"
3+
indent_type = "Tabs"
4+
indent_width = 2
5+
quote_style = "AutoPreferSingle"
6+
no_call_parentheses = false

.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"tasks": [
3+
{
4+
"label": "Run Tests",
5+
"type": "shell",
6+
"command": "make test"
7+
}
8+
]
9+
}

CHANGELOG.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Changelog
2+
3+
## [1.2.0](https://github.com/nvim-java/nvim-java/compare/v1.1.0...v1.2.0) (2024-03-23)
4+
5+
6+
### Features
7+
8+
* **conf:** capability to remove dap related notifications ([9f9b785](https://github.com/nvim-java/nvim-java/commit/9f9b785e9f8a452e7bd56d809578efc1c5908b6b))
9+
10+
11+
### Bug Fixes
12+
13+
* jdtls wont start up after new mason versioned package ([#147](https://github.com/nvim-java/nvim-java/issues/147)) ([8945fc1](https://github.com/nvim-java/nvim-java/commit/8945fc16452e9c6748194ac5e24379a8ccdcf3a2))
14+
* **test:** tests are hanging after vim.ui.select to handle async ui change. ([#139](https://github.com/nvim-java/nvim-java/issues/139)) ([#140](https://github.com/nvim-java/nvim-java/issues/140)) ([ba1146e](https://github.com/nvim-java/nvim-java/commit/ba1146ebe859dbd2ea4fded68bb8b04805a894ec))
15+
16+
## [1.1.0](https://github.com/nvim-java/nvim-java/compare/v1.0.6...v1.1.0) (2024-03-17)
17+
18+
19+
### Features
20+
21+
* APIs to run application ([#136](https://github.com/nvim-java/nvim-java/issues/136)) ([a0c6c1b](https://github.com/nvim-java/nvim-java/commit/a0c6c1b7dbf547b88350d6ffd033c61451a067eb))
22+
23+
## [1.0.6](https://github.com/nvim-java/nvim-java/compare/v1.0.5...v1.0.6) (2024-03-03)
24+
25+
26+
### Bug Fixes
27+
28+
* lombok APIs with parameters are not working ([#129](https://github.com/nvim-java/nvim-java/issues/129)) ([5133a21](https://github.com/nvim-java/nvim-java/commit/5133a21ffc6b9545d9785721d34a212120a22749))
29+
30+
## [1.0.5](https://github.com/nvim-java/nvim-java/compare/v1.0.4...v1.0.5) (2024-03-01)
31+
32+
33+
### Bug Fixes
34+
35+
* sometimes dap is not configured correctly ([#126](https://github.com/nvim-java/nvim-java/issues/126)) ([4f1f310](https://github.com/nvim-java/nvim-java/commit/4f1f31094632342cc45902276d11971507c415e0))
36+
37+
## [1.0.4](https://github.com/nvim-java/nvim-java/compare/v1.0.3...v1.0.4) (2024-01-13)
38+
39+
40+
### Miscellaneous Chores
41+
42+
* release 1.0.4 ([a268bdd](https://github.com/nvim-java/nvim-java/commit/a268bddafec62282d1e7e5ad85d34696bf5dd027))
43+
44+
## [1.0.3](https://github.com/nvim-java/nvim-java/compare/v1.0.2...v1.0.3) (2024-01-07)
45+
46+
47+
### Bug Fixes
48+
49+
* java-debug fails due to unavailablity of v0.52.0 ([#105](https://github.com/nvim-java/nvim-java/issues/105)) ([f20e49f](https://github.com/nvim-java/nvim-java/commit/f20e49fbfa84a73f371ba9bd925d19c57f0cdd70))
50+
51+
## [1.0.2](https://github.com/nvim-java/nvim-java/compare/v1.0.1...v1.0.2) (2023-12-17)
52+
53+
54+
### Bug Fixes
55+
56+
* user jdtls setup config wont override the default config ([#91](https://github.com/nvim-java/nvim-java/issues/91)) ([fa14d06](https://github.com/nvim-java/nvim-java/commit/fa14d065d3e5d7402d8bde6ebb2099dfc9f29e3f))
57+
58+
## [1.0.1](https://github.com/nvim-java/nvim-java/compare/v1.0.0...v1.0.1) (2023-12-13)
59+
60+
61+
### Bug Fixes
62+
63+
* goto definition error out due to buffer is not modifiable ([#74](https://github.com/nvim-java/nvim-java/issues/74)) ([d1233cc](https://github.com/nvim-java/nvim-java/commit/d1233ccc101866bcbea394c51b7c0780bf98bb9d))
64+
65+
## 1.0.0 (2023-12-10)
66+
67+
68+
### ⚠ BREAKING CHANGES
69+
70+
* go from promises to co-routines ([#30](https://github.com/nvim-java/nvim-java/issues/30))
71+
* change the project structure according to new core changes ([#27](https://github.com/nvim-java/nvim-java/issues/27))
72+
73+
### Features
74+
75+
* add API to open test reports ([#35](https://github.com/nvim-java/nvim-java/issues/35)) ([1fb58a6](https://github.com/nvim-java/nvim-java/commit/1fb58a6f0fb20253de3542a4ea950f435378ed30))
76+
* add capability to lsp actions in .class files ([#11](https://github.com/nvim-java/nvim-java/issues/11)) ([8695b99](https://github.com/nvim-java/nvim-java/commit/8695b9972a40ee5eec2e4a05208db29db56b8a90))
77+
* add commands for lua APIs ([#43](https://github.com/nvim-java/nvim-java/issues/43)) ([62bf7f7](https://github.com/nvim-java/nvim-java/commit/62bf7f79ed37ebf02b2ad1c670cc495105d025ad))
78+
* add config option to install jdk17 via mason ([29e6318](https://github.com/nvim-java/nvim-java/commit/29e631803903b52eb070ec7f069db8a44081d925))
79+
* add editor config ([01a6c15](https://github.com/nvim-java/nvim-java/commit/01a6c1534e80c7cfbdde58e5e4962cbf32e5cd80))
80+
* add lint & release-please workflows ([#67](https://github.com/nvim-java/nvim-java/issues/67)) ([0751359](https://github.com/nvim-java/nvim-java/commit/0751359c08e6305ec031790f0c1fdb1091b3e03b))
81+
* add plugin manager for testing ([1feb82e](https://github.com/nvim-java/nvim-java/commit/1feb82e5576b468f7e0ab7c87c6f19c8db7800aa))
82+
* add test current method API ([#31](https://github.com/nvim-java/nvim-java/issues/31)) ([a5e5adb](https://github.com/nvim-java/nvim-java/commit/a5e5adb60a726ece9298723bd2c2e6000efc3731))
83+
* auto configure jdtls and dap at start up ([#2](https://github.com/nvim-java/nvim-java/issues/2)) ([83e25bb](https://github.com/nvim-java/nvim-java/commit/83e25bb827aee6b52b389f608eca01a01fa7ee2a))
84+
* auto refresh the mason registory when pkgs are not available ([#41](https://github.com/nvim-java/nvim-java/issues/41)) ([0edb02c](https://github.com/nvim-java/nvim-java/commit/0edb02c12ca5b8750f9734562d7ea2213e3c8442))
85+
* Create FUNDING.yml ([f23b56e](https://github.com/nvim-java/nvim-java/commit/f23b56e3fc80156781e7d3029c365be766e3af24))
86+
* extract debug & run APIs for current test class ([#14](https://github.com/nvim-java/nvim-java/issues/14)) ([b5368b2](https://github.com/nvim-java/nvim-java/commit/b5368b20fb2479e0571675d1646cce248e5a809b))
87+
* **ui:** add visual indication for dap configuration status ([#60](https://github.com/nvim-java/nvim-java/issues/60)) ([7f5475e](https://github.com/nvim-java/nvim-java/commit/7f5475ebac07b7522afc24b2d6ff6afe5e1d373d))
88+
89+
90+
### Bug Fixes
91+
92+
* 0.40.1 failure on install ([f16b08b](https://github.com/nvim-java/nvim-java/commit/f16b08b277400c1965679be6f5178cb5d04b6f25))
93+
* build badge ([0af982e](https://github.com/nvim-java/nvim-java/commit/0af982e895e3eabfcae97d922eac733a758d5757))
94+
* build shields badge ([db7b333](https://github.com/nvim-java/nvim-java/commit/db7b3335dfc1a38181b1702449aae50589382ae8))
95+
* **ci:** invalid vim-doc name ([#16](https://github.com/nvim-java/nvim-java/issues/16)) ([4a64bb6](https://github.com/nvim-java/nvim-java/commit/4a64bb6eef90c857913780bbde92ad7411002eef))
96+
* error in error handler function ([#24](https://github.com/nvim-java/nvim-java/issues/24)) ([2fd3979](https://github.com/nvim-java/nvim-java/commit/2fd39790df73669e2384f3dd1acd3c1322203dfb))
97+
* error when java.setup with no table ([#56](https://github.com/nvim-java/nvim-java/issues/56)) ([18bb0ab](https://github.com/nvim-java/nvim-java/commit/18bb0abe4450bc7405f78f0d8e37f9787315102c))
98+
* jdk auto_install should be true by default ([#59](https://github.com/nvim-java/nvim-java/issues/59)) ([2c82759](https://github.com/nvim-java/nvim-java/commit/2c827599f099d8b80cfdd74690ff807309748930))
99+
* server module was moved from prev location in java-core ([#22](https://github.com/nvim-java/nvim-java/issues/22)) ([a27c215](https://github.com/nvim-java/nvim-java/commit/a27c2159c7ef5620137916419ed689501c6264ae))
100+
* when launched first time lazy covers mason nvim window ([#52](https://github.com/nvim-java/nvim-java/issues/52)) ([340cad5](https://github.com/nvim-java/nvim-java/commit/340cad58b382b9e3f310fbc50427691f5b46af2f))
101+
102+
103+
### Code Refactoring
104+
105+
* change the project structure according to new core changes ([#27](https://github.com/nvim-java/nvim-java/issues/27)) ([7c7b772](https://github.com/nvim-java/nvim-java/commit/7c7b772151b67bea7eb3bd96f78cfa337d106d8d))
106+
* go from promises to co-routines ([#30](https://github.com/nvim-java/nvim-java/issues/30)) ([737792d](https://github.com/nvim-java/nvim-java/commit/737792d2595a01d0e3c491dcae907a7041d27c1b))

0 commit comments

Comments
 (0)