forked from isabelroses/nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1489357
commit a19a129
Showing
67 changed files
with
16,892 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake --accept-flake-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto | ||
**/_sources/**/* linguist-generated -diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Nvim conf | ||
|
||
My personal neovim config | ||
|
||
Run via nix: | ||
|
||
```sh | ||
nix run github:isabelroses/nvim | ||
``` | ||
|
||
### Thanks to | ||
- [nekowinston](https://github.com/nekowinston/neovim.drv) | ||
- [notashelf](https://github.com/NotAShelf/neovim-flake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
time: "03:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Build and populate cache | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 3 * * 3" # 03:00 on Wednesday, this is beacuse we want to update 1hr after the inputs update | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
package: | ||
- default | ||
- neovide | ||
- nvim-treesitter | ||
- telescope-fzf-native | ||
- markdown-preview | ||
|
||
steps: | ||
- name: Maximize build space | ||
uses: easimon/maximize-build-space@v10 | ||
with: | ||
overprovision-lvm: true | ||
remove-android: true | ||
remove-dotnet: true | ||
remove-haskell: true | ||
remove-codeql: true | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
logger: pretty | ||
|
||
- name: Magic Nix Cache | ||
uses: DeterminateSystems/magic-nix-cache-action@main | ||
|
||
- name: Setup cachix | ||
uses: cachix/cachix-action@v13 | ||
with: | ||
name: isabelroses | ||
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" | ||
authToken: "${{ secrets.CACHIX_TOKEN }}" | ||
|
||
- name: Build from the matrix | ||
run: nix build -L .#${{ matrix.package }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Update Flake Inputs | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 2 * * 3" # 02:00 on Wednesday | ||
|
||
jobs: | ||
update-lockfile: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Install Nix | ||
uses: nixbuild/nix-quick-install-action@v26 | ||
|
||
- name: Update Sources | ||
run: | | ||
nix run github:berberman/nvfetcher | ||
pushd pkgs/nvim-treesitter | ||
nix run github:berberman/nvfetcher | ||
popd | ||
- name: Update Lockfile | ||
uses: DeterminateSystems/update-flake-lock@main | ||
id: update | ||
with: | ||
pr-title: "chore(deps): update inputs" | ||
commit-msg: "chore(deps): update inputs" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Merge Changes | ||
run: gh pr merge ${{ steps.update.outputs.pull-request-number }} --squash --delete-branch | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
tt.* | ||
.tests | ||
doc/tags | ||
debug | ||
.repro | ||
foo.* | ||
*.log | ||
data | ||
lazy-lock.json | ||
result | ||
.pre-commit-config.yaml | ||
.devenv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"Lua.runtime.version": "Lua 5.1", | ||
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", | ||
"workspace.checkThirdParty": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"neodev": { | ||
"library": { | ||
"enabled": true | ||
} | ||
}, | ||
"lspconfig": { | ||
"sumneko_lua": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 isabelroses | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
Oops, something went wrong.