Compare commits

..

7 commits

Author SHA1 Message Date
raf
e35a74c44a
meta: actually fix logo path for new README location
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
2025-07-30 12:32:01 +00:00
4a4a376328
meta: update logo path for the new README location
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69646755f9d922c1ca413443307bb6db62c4
2025-07-30 15:30:02 +03:00
48a54502f8
docs: format markdown sources with Deno
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69643dadbb6dbe6860f3002a75b1bb445d27
2025-07-30 14:52:24 +03:00
6585b2d63c
meta: modernize contribution guideline; move README back to repo root
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964885af7bdd99e696633159ecd84363eea
2025-07-30 14:52:24 +03:00
132e50c1e4
ci: check markdown formatting via deno fmt
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696439d249d3eb69c548013c4a5470c06688
2025-07-30 14:09:00 +03:00
8092a6f188
docs: fix codeblock closing in standalone installation guide
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964ea02c71459a2be778c9e91897f6e49ae
2025-07-30 14:08:59 +03:00
be5cc82c5f
flake: remove flake-utils from inputs
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69641b9b232aa8b7993f1d7432c331145d62
2025-07-30 13:59:16 +03:00
8 changed files with 84 additions and 71 deletions

View file

@ -2,48 +2,72 @@
## Table of Contents ## Table of Contents
- [Welcome](#welcome) - [Preface](#preface)
- [Contributing](#contributing) - [Contributing Process](#contributing-process)
- [Code of Conduct](#code-of-conduct) - [Code of Conduct](#code-of-conduct)
## Welcome ## Preface
I'm glad you are thinking about contributing to nvf! If you're unsure about [LICENSE]: ../LICENSE
anything, just ask - or submit the issue or pull request anyway. The worst that
can happen is you'll be politely asked to change something. Friendly
contributions are always welcome.
Before you contribute, I encourage you to read this project's CONTRIBUTING I am glad you are thinking about contributing to nvf! The project is shaped by
policy (you are here) and its [LICENSE](../LICENSE) to understand how your contributors and user feedback, and all contributions are appreciated.
contributions are licensed.
If you have any questions regarding those files, feel free to open an issue or If you are unsure about anything, whether a change is necessary or if it would
[shoot me an email](mailto:me@notashelf.dev). Discussions tab is also available be accepted _had_ you created a PR, please just ask! Or submit the issue or pull
for more informal discussions. request anyway, the worst that can happen is that you will be politely asked to
change something. Friendly contributions are _always_ welcome.
## Contributing Before you contribute, I encourage you to read the rest of this document for our
contributing policy and guidelines, followed by the [LICENSE] to understand how
your contributions are licensed.
The contribution process is mostly documented in the If you have any questions regarding those files, or would like to ask a question
[pull request template](PULL_REQUEST_TEMPLATE/pull_request_template.md). You that is not covered by any of them, please feel free to open an issue!
will find a checklist of items to complete before submitting a pull request. Discussions tab is also available for less formal discussions. You may also
Please make sure you complete it before submitting a pull request. If you are choose to contact me on Discord or Matrix if you would like to talk to me
personally.
## Contributing Process
[pull request template]: ./PULL_REQUEST_TEMPLATE.md
The contribution process is mostly documented in the [pull request template].
When you create a pull request, you will find a checklist of items to complete
before it can be submitted. We ask that you please complete it before submitting
a pull request to help maintainers provide more specific feedback. If you are
unsure about any of the items, please ask. unsure about any of the items, please ask.
### Guidelines ### Guidelines
We provide instructions on a healthy contribution to neovim-flake - including We provide instructions for a healthy contribution to nvf. This includes
styling, commit formats, how-to guides for adding new modules and options. You **styling**, **commit formats**, **how-to guides for common contributions**. You
are very well recommended to read the contributing guidelines over at are strongly encouraged to read the contributing guidelines in full over at
[the documentation](https://notashelf.github.io/nvf#hacking) [the documentation](https://notashelf.github.io/nvf#hacking).
A general gist of our requirements is that you must
1. Write clean Nix code
2. Self-test your changes
3. Document your changes
Though, please take a look at the manual for the complete contributing guide.
Please also feel free to let us know if you feel that something is missing. We
hope to provide clear, comprehensive instructions that make the contribution
process a breeze.
### Code of Conduct ### Code of Conduct
This project does not quite have a code of conduct yet. And to be perfectly This project does not have a formal code of conduct yet, and to be perfectly
honest, I'm not sure if I want one or if it will ever have one. I'm not honest I am not entirely positive if I want one or if it will _ever_ have one.
expecting this project to be a hotbed of activity, but I do want to make sure This project is not expected to be a hotbed of activity, and I trust my
that everyone who does contribute feels welcome and safe. As such, I will do my contributors to keep it civil and respectful.
best to make sure that those who distrupt the project are dealt with swiftly and
appropriately. I do, however, want to make sure that everyone who does contribute feels welcome
and safe around project spaces. As such, I will do my best to make sure anyone
who disrupts the project or engages in negative behaviour will are dealt with
appropriately, and swiftly. You are invited to share any concerns that you have
with the projects moderation, be it over public or private spaces.
If you feel that you are not being treated with respect, please contact me If you feel that you are not being treated with respect, please contact me
directly. directly.

View file

@ -39,6 +39,17 @@ jobs:
- name: Check formatting via Alejandra - name: Check formatting via Alejandra
run: nix run nixpkgs#alejandra -- --check . --exclude npins run: nix run nixpkgs#alejandra -- --check . --exclude npins
- name: Check formatting via Deno
run: nix run nixpkgs#deno -- fmt --check --ext md **/*.md
- if: ${{ failure() }}
shell: bash
run: |
echo "::error:: Current codebase contains formatting errors that were caught by the CI!"
echo "Please ensure that all Nix code is formatted with Alejandra, and Markdown with `deno fmt"
echo "[skip ci] label may be added to the PR title if this is a one-time issue and is safe to ignore"
exit 1
check-typos: check-typos:
name: "Check source tree for typos" name: "Check source tree for typos"
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -142,7 +153,8 @@ jobs:
- name: Checking Editorconfig conformance - name: Checking Editorconfig conformance
shell: bash shell: bash
run: | run: |
< "$HOME/changed_files" nix-shell -p editorconfig-checker --run 'xargs -r editorconfig-checker -disable-indent-size' < "$HOME/changed_files" nix-shell -p editorconfig-checker \
--run 'xargs -r editorconfig-checker -disable-indent-size --exclude flake.lock'
- if: ${{ failure() }} - if: ${{ failure() }}
shell: bash shell: bash

View file

@ -1,6 +1,6 @@
<!-- markdownlint-disable MD013 MD033 MD041--> <!-- markdownlint-disable MD013 MD033 MD041-->
<div align="center"> <div align="center">
<img src="assets/nvf-logo-work.svg" alt="nvf Logo" width="200"> <img src=".github/assets/nvf-logo-work.svg" alt="nvf Logo" width="192">
<br/> <br/>
<h1>nvf</h1> <h1>nvf</h1>
</div> </div>
@ -122,7 +122,7 @@ the following in order to take **nvf** out for a spin.
```bash ```bash
# Run the default package # Run the default package
nix run github:notashelf/nvf $ nix run github:notashelf/nvf
``` ```
This will get you a feel for the base configuration and UI design. Though, none This will get you a feel for the base configuration and UI design. Though, none
@ -144,7 +144,7 @@ coverage, run:
```bash ```bash
# Run the maximal package # Run the maximal package
nix run github:notashelf/nvf#maximal $ nix run github:notashelf/nvf#maximal
``` ```
Similar instructions will apply for `nix profile install`. However, you are Similar instructions will apply for `nix profile install`. However, you are
@ -196,11 +196,12 @@ members, or engage in productive discussion with the maintainers.
## Contributing ## Contributing
[contributing guide]: .github/CONTRIBUTING.md
I am always looking for new ways to help improve this flake. If you would like I am always looking for new ways to help improve this flake. If you would like
to contribute, please read the [contributing guide](CONTRIBUTING.md) before to contribute, please read the [contributing guide] before submitting a pull
submitting a pull request. You can also create an issue on the [issue tracker] request. You can also create an issue on the [issue tracker] before submitting a
before submitting a pull request if you would like to discuss a feature or bug pull request if you would like to discuss a feature or bug fix.
fix.
## Frequently Asked Questions ## Frequently Asked Questions
@ -259,11 +260,11 @@ further configure Neovim.
### Co-Maintainers ### Co-Maintainers
Alongside [myself](https://github.com/notashelf), nvf is developed by those Alongside [myself](https://github.com/notashelf), nvf is developed by those
talented folk. nvf would not be what it is today without their invaluable talented folk. **nvf** would not be what it is today without their invaluable
contributions. contributions.
- [**@horriblename**](https://github.com/horriblename) - [**@horriblename**](https://github.com/horriblename)
([Liberapay](https://liberapay.com/horriblename/))- For actively implementing ([Liberapay](https://liberapay.com/horriblename/)) - For actively implementing
planned features and quality of life updates. planned features and quality of life updates.
- [**@Soliprem**](https://github.com/soliprem) - For rigorously implementing - [**@Soliprem**](https://github.com/soliprem) - For rigorously implementing
missing features and excellent work on new language modules. missing features and excellent work on new language modules.

View file

@ -2,9 +2,9 @@
The [additional plugins section](#sec-additional-plugins) details the addition The [additional plugins section](#sec-additional-plugins) details the addition
of new plugins to nvf under regular circumstances, i.e. while making a pull of new plugins to nvf under regular circumstances, i.e. while making a pull
request to the project. You may _override_ those plugins in your config request to the project. You may _override_ those plugins in your config to
to change source versions, e.g., to use newer versions of plugins change source versions, e.g., to use newer versions of plugins that are not yet
that are not yet updated in **nvf**. updated in **nvf**.
```nix ```nix
vim.pluginOverrides = { vim.pluginOverrides = {

View file

@ -30,8 +30,8 @@ There are many settings available in the options. Please refer to the
[documentation](https://notashelf.github.io/nvf/options.html#opt-vim.keymaps) to [documentation](https://notashelf.github.io/nvf/options.html#opt-vim.keymaps) to
see a list of them. see a list of them.
**nvf** provides a helper function, so that you don't have to write the **nvf** provides a helper function, so that you don't have to write the mapping
mapping attribute sets every time: attribute sets every time:
- `mkKeymap`, which mimics neovim's `vim.keymap.set` function - `mkKeymap`, which mimics neovim's `vim.keymap.set` function

View file

@ -49,7 +49,8 @@ the default theme enabled. You may use other options inside `config.vim` in
# ... # ...
modules = [ modules = [
# This will make wrapped neovim available in your system packages # This will make wrapped neovim available in your system packages
# Can also move this to another config file if you pass inputs/self around with specialArgs # Can also move this to another config file if you pass your own
# inputs/self around with specialArgs
({pkgs, ...}: { ({pkgs, ...}: {
environment.systemPackages = [self.packages.${pkgs.stdenv.system}.neovim]; environment.systemPackages = [self.packages.${pkgs.stdenv.system}.neovim];
}) })
@ -58,4 +59,5 @@ the default theme enabled. You may use other options inside `config.vim` in
}; };
}; };
}; };
}``` }
```

21
flake.lock generated
View file

@ -36,26 +36,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": [
"systems"
]
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"mnw": { "mnw": {
"locked": { "locked": {
"lastModified": 1748710831, "lastModified": 1748710831,
@ -91,7 +71,6 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"flake-utils": "flake-utils",
"mnw": "mnw", "mnw": "mnw",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"systems": "systems" "systems": "systems"

View file

@ -98,11 +98,6 @@
inputs.nixpkgs-lib.follows = "nixpkgs"; inputs.nixpkgs-lib.follows = "nixpkgs";
}; };
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
flake-compat = { flake-compat = {
url = "git+https://git.lix.systems/lix-project/flake-compat.git"; url = "git+https://git.lix.systems/lix-project/flake-compat.git";
flake = false; flake = false;