Skip to content

Commit b85e5e8

Browse files
Feature/ci cd (#9)
* Improved readme formatting, updated license, and updated git repo url * Updated readme header * Added linting to workflow * Added note about slnx files
1 parent f74a293 commit b85e5e8

File tree

3 files changed

+74
-23
lines changed

3 files changed

+74
-23
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,41 @@
1-
name: Tests
1+
name: Lint and Test
22
on:
33
- push
44
- pull_request
55
jobs:
6+
lint:
7+
name: Lint
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Setup
12+
run: |
13+
sudo apt-get update
14+
sudo apt-get install luarocks
15+
sudo luarocks install luacheck
16+
- name: Lint
17+
run: luacheck lua/ --globals vim
618
unit_tests:
7-
name: unit tests
19+
name: Unit Tests
820
runs-on: ${{ matrix.os }}
921
strategy:
1022
fail-fast: false
1123
matrix:
1224
os:
13-
- ubuntu-22.04
25+
- ubuntu-latest
1426
- macos-latest
15-
- windows-2022
27+
- windows-latest
1628
rev:
1729
- nightly
1830
- v0.9.5
1931
- v0.10.0
2032
include:
21-
- os: ubuntu-22.04
22-
install-rg: sudo apt-get update && sudo apt-get install -y ripgrep
33+
- os: ubuntu-latest
34+
install-deps: sudo apt-get update && sudo apt-get install -y ripgrep
2335
- os: macos-latest
24-
install-rg: brew update && brew install ripgrep
25-
- os: windows-2022
26-
install-rg: choco install ripgrep
36+
install-deps: brew update && brew install ripgrep
37+
- os: windows-latest
38+
install-deps: choco install ripgrep
2739
steps:
2840
- uses: actions/checkout@v4
2941
- uses: rhysd/action-setup-vim@v1
@@ -32,9 +44,8 @@ jobs:
3244
version: ${{ matrix.rev }}
3345
- name: Prepare
3446
run: |
35-
${{ matrix.install-rg }}
47+
${{ matrix.install-deps }}
3648
rg --version
37-
3849
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ../plenary.nvim
3950
- name: Run tests
4051
run: |

LICENSE

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
MIT License
3+
4+
5+
Copyright (c) 2025 xentropic-dev
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of
8+
this software and associated documentation files (the “Software”), to deal in
9+
the Software without restriction, including without limitation the rights to
10+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11+
of the Software, and to permit persons to whom the Software is furnished to do
12+
so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.
24+
25+

README.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<div align="center">
2+
<h1>🧭 Explorer.Dotnet.nvim</h1>
3+
<p>
4+
A Neovim plugin for C# development, providing a solution explorer and project
5+
management tools.
6+
</p>
7+
8+
<p>
9+
<a href="https://opensource.org/licenses/MIT"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-e0af68.svg?style=for-the-badge&logo=opensourceinitiative&logoColor=white" /></a>
10+
<a href="https://github.com/xentropic-dev/Explorer.Dotnet.nvim/actions"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/xentropic-dev/Explorer.Dotnet.nvim/ci.yml?style=for-the-badge&label=CI&logo=github&color=9ece6a" /></a>
11+
<a href="https://github.com/xentropic-dev/Explorer.Dotnet.nvim/stargazers"><img alt="GitHub Stars" src="https://img.shields.io/github/stars/xentropic-dev/Explorer.Dotnet.nvim?style=for-the-badge&color=7aa2f7&logo=github" /></a>
12+
</p>
13+
</div>
14+
115
# Neovim C# Development
216

317
C# is a powerful language, and Neovim is a powerful editor. This project is
@@ -30,18 +44,18 @@ Here's the recommended way to setup this plugin with Lazy.
3044

3145
```lua
3246
return {
33-
"xentropic-dev/nvim-dotnet-explorer",
34-
config = function()
35-
require("dotnet_explorer").setup({
36-
renderer = {
37-
width = 40,
38-
side = "right",
39-
},
40-
})
41-
end,
42-
keys = {
43-
{ "<leader>ee", "<cmd>ToggleSolutionExplorer<cr>", desc = "Toggle Solution Explorer" },
44-
},
47+
"xentropic-dev/explorer.dotnet.nvim",
48+
config = function()
49+
require("dotnet_explorer").setup({
50+
renderer = {
51+
width = 40,
52+
side = "right",
53+
},
54+
})
55+
end,
56+
keys = {
57+
{ "<leader>ee", "<cmd>ToggleSolutionExplorer<cr>", desc = "Toggle Solution Explorer" },
58+
},
4559
}
4660

4761
```
@@ -107,3 +121,4 @@ Tree view components:
107121
- [ ] create solution from template
108122
- [ ] create project from template
109123
- [ ] create file from template
124+
- [ ] support for new .NET slnx file format

0 commit comments

Comments
 (0)