Compare commits

..

5 commits

Author SHA1 Message Date
8fbecab446
meta: update issue & PR templates to modernize, reword
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
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69649c2b4a353088654bf90764e8a320cd86
2025-07-22 13:45:40 +03:00
9ad4756114
meta: typo & wording fixes in README 2025-07-22 13:08:50 +03:00
02573ac3e4
avante-nvim: fix library linking
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964d0425213b183c09664d612bec4bd0ea9
2025-07-22 12:41:33 +03:00
23d75fc12d
meta: remove hard-time.nvim from maximal package
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69644f3d0092af4b9e3c00454dc936f14bed
2025-07-22 12:41:32 +03:00
81d99b0ddf
flake: bump inputs
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696400a25fa448e6ef49d40d54a008d7f6b2
2025-07-22 12:41:27 +03:00
6 changed files with 85 additions and 70 deletions

View file

@ -90,15 +90,6 @@ body:
validations: validations:
required: true required: true
- type: input
id: nix-metadata
attributes:
label: "💻 Metadata"
description: 'Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result.'
placeholder: '[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"'
validations:
required: true
- type: textarea - type: textarea
attributes: attributes:
label: System Information label: System Information
@ -119,7 +110,7 @@ body:
id: logs id: logs
attributes: attributes:
render: bash render: bash
label: "📝 Relevant log output" label: "Relevant log output"
description: >- description: >-
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.

View file

@ -1,58 +1,72 @@
name: 🚀 Feature Request name: 🚀 Feature Request
description: "Propose a new feature" description: "Propose a new feature"
#title: "[Feature] " title: "<short description of the desired addition>"
labels: [feature-request] labels: [feature-request]
body: body:
- type: checkboxes - type: checkboxes
id: no-duplicate-issues
attributes: attributes:
label: "⚠️ Please verify that this feature request has NOT been suggested before." label: I have verified that this feature request has not been made before
description: "Search in the issues sections by clicking [HERE](https://github.com/notashelf/neovim-flake/issues?q=)" description: >-
Before opening a new issue for feature requests, please consider searching through currently
open issues [here](https://github.com/notashelf/nvf/issues). If you would like to discuss a
new addition beforehand, you may first want to create a new discussion threat and discuss it
with the maintainers [on the discussions tab](https://github.com/notashelf/nvf/discussions)
options: options:
- label: "I checked and didn't find a similar feature request" - required: true
required: true label: >-
I have checked the [issues tab](https://github.com/notashelf/nvf/issues?q=is%3Aissue),
and did not find a similar feature request. I understand that my issue will be closed
if it is a duplicate.
- type: dropdown - type: dropdown
id: feature-area id: feature-area
attributes: attributes:
label: "🏷️ Feature Type" label: Feature Type
description: "What kind of a feature request is this?" description: Please describe the kind of addition this is
multiple: true multiple: true
options: options:
- New Command - New Plugin
- New Addon - Update Request (Plugin/Nixpkgs)
- API Additions - Documentation Updates
- Other - Other
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: feature-description id: feature-description
attributes:
label: Feature description
description: >-
Please provide a clear and concise description of the desired addition. If this is a plugin
addition, please also include a link to the desired plugin and the reason why you think this
is a good addition. Keep in mind that we may refuse plugin requests as nvf already provides
appropriate methods of installing plugins in user configurations.
placeholder: >-
"nvf currently does [...], which really frustrates me" or "You should add [...] because I think
[...]"
validations: validations:
required: true required: true
attributes:
label: "🔖 Feature description"
description: "A clear and concise description of what your feature request is."
placeholder: "'You should add [...]' or '[...] has always frustrated me' "
- type: textarea
id: solution
validations:
required: true
attributes:
label: "✔️ Solution"
description: "A clear and concise description of what you want to happen."
placeholder: "In my use-case, I would like [...]"
- type: textarea - type: textarea
id: alternatives id: alternatives
attributes:
label: Alternatives
description: >-
If you have tried anything before creating this issue, please give us a clear and concise
description of any alternative solutions or methods you have considered.
placeholder: "I have considered [...]"
validations: validations:
required: false required: false
attributes:
label: "❓ Alternatives"
description: "A clear and concise description of any alternative solutions or features you've considered."
placeholder: "I have considered [...]"
- type: textarea - type: textarea
id: additional-context id: additional-context
attributes:
label: Additional Context
description: >-
If there is anything else you would like to mention, such as additional context or screenshots
demonstrating the requested feature, please add them here. This field is optional, but you may
be requested to provide further context. Please ensure that your feature request clearly describes
the requested feature in good detail.
validations: validations:
required: false required: false
attributes:
label: "📝 Additional Context"
description: "Add any other context or screenshots about the feature request here."
placeholder: "..."

51
.github/README.md vendored
View file

@ -1,3 +1,4 @@
<!-- 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="assets/nvf-logo-work.svg" alt="nvf Logo" width="200">
<br/> <br/>
@ -46,11 +47,10 @@
[Features]: #features [Features]: #features
[Get Started]: #get-started [Get Started]: #get-started
[Documentation]: #documentation [Documentation]: #documentation
[Help]: #help [Help]: #getting-help
[Contribute]: #contributing [Contribute]: #contributing
[FAQ]: #frequently-asked-questions [FAQ]: #frequently-asked-questions
[Credits]: #credits [Credits]: #credits
[License]: #license
**[<kbd><br>Features <br></kbd>][Features]** **[<kbd><br>Features <br></kbd>][Features]**
**[<kbd><br>Get Started<br></kbd>][Get Started]** **[<kbd><br>Get Started<br></kbd>][Get Started]**
@ -84,21 +84,22 @@
customizable through the Nix module system. customizable through the Nix module system.
- Not comfortable with a full-nix config or want to bring your Lua config? You - Not comfortable with a full-nix config or want to bring your Lua config? You
can do just that, no unnecessary restrictions. can do just that, no unnecessary restrictions.
- Lazyloading 💤? We got it! Lazyload both internal and external plugins at - Lazyloading? We got it! Lazyload both internal and external plugins at will
will. 💤 .
- nvf allows _ordering configuration bits_ using [DAG] (_Directed acyclic - nvf allows _ordering configuration bits_ using [DAG] (_Directed acyclic
graph_)s. It has never been easier to construct an editor configuration graph_)s. It has never been easier to construct an editor configuration
deterministically! deterministically!
- nvf exposes everything you need to avoid a vendor lock-in. Which means you - nvf exposes everything you need to avoid a vendor lock-in. Which means you
can add new modules, plugins and so on without relying on us adding a module can add new modules, plugins and so on without relying on us adding a module
for them! Though, of course, feel free to request them. for them! Though, of course, feel free to request them.
- Use plugins from anywhere. Inputs, npins, nixpkgs... You name it. - Use plugins from anywhere: inputs, npins, nixpkgs... You name it.
- Add your own modules, with ease. It's all built-in! - Add your own modules with ease. It's all built-in!
- **Well-documented**: Documentation is priority. You will _never_ face - **Well-documented**: Documentation is priority. You will _never_ face
undocumented, obscure behaviour. undocumented, obscure behaviour.
- Changes, breaking or otherwise, will be communicated in the [release notes] - Any and all changes, breaking or otherwise, will be communicated in the
[release notes].
- Refer to the [FAQ section] for answers to common questions. - Refer to the [FAQ section] for answers to common questions.
- Your question not there? Head to the to the [discussions tab]! - Your question not there? Head to the [discussions tab]!
- **Idiomatic**: nvf does things ✨ _the right way_ ✨ - the codebase is, and - **Idiomatic**: nvf does things ✨ _the right way_ ✨ - the codebase is, and
will, remain maintainable for myself and any contributors. will, remain maintainable for myself and any contributors.
- **Community-Led**: we would like nvf to be fully capable of accomplishing what - **Community-Led**: we would like nvf to be fully capable of accomplishing what
@ -129,12 +130,17 @@ of the configuration options are final as **nvf** is designed to be modular and
configurable. configurable.
> [!TIP] > [!TIP]
> The flake exposes `#nix` as the default package, providing minimal language > The flake exposes `nix` as the default package, which will be evaluated when
> support and various utilities. You may also use the `#nix` or `#maximal` > you run `nix build` or `nix run` on this repo. It is minimal, and providing
> packages provided by the this flake to get try out different configurations. > limited language support and various utilities. We also expose the `maximal`
> package, which you may choose to build if you'd like to see more of nvf's
> built-in modules. Please keep in mind that those are demo packages, nvf does
> not ship a default configuration if installed as a NixOS/Home-Manager module
> or via standalone method.
It is as simple as changing the target output to get a different configuration. It is as simple as changing the target output in your `nix run` command to get a
For example, to get a configuration with large language coverage, run: different configuration. For example, to get a configuration with large language
coverage, run:
```bash ```bash
# Run the maximal package # Run the maximal package
@ -142,7 +148,7 @@ 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
recommended to instead use the module system as described in the manual. recommended to instead use the module system as described in the [nvf manual].
> [!NOTE] > [!NOTE]
> The `maximal` configuration is quite large, and might take a while to build. > The `maximal` configuration is quite large, and might take a while to build.
@ -155,6 +161,10 @@ instructions.
## Documentation ## Documentation
**nvf** prides itself in its rich, intuitive documentation. The chapter below
covers several methods through which you can install **nvf**. If you believe
something is missing, or could be done better, please feel free to contact us!
### Installation ### Installation
The _recommended_ way of installing nvf is using either the NixOS or the The _recommended_ way of installing nvf is using either the NixOS or the
@ -163,7 +173,7 @@ install **nvf** as a standalone package, or a flake output.
See the rendered [nvf manual] for detailed and up-to-date installation guides, See the rendered [nvf manual] for detailed and up-to-date installation guides,
configurations, available options, release notes and more. Tips for installing configurations, available options, release notes and more. Tips for installing
userspace plugins is also contained in the documentation. userspace plugins are also contained in the documentation.
> [!TIP] > [!TIP]
> While using NixOS or Home-Manager modules, > While using NixOS or Home-Manager modules,
@ -180,8 +190,9 @@ requests are also welcome, and appreciated.
If you are confused, stuck or would like to ask a simple question; you may If you are confused, stuck or would like to ask a simple question; you may
create an issue on the [issue tracker] to ask questions or report bugs. create an issue on the [issue tracker] to ask questions or report bugs.
We are not not yet on spaces like matrix or IRC, so please use the issue tracker We are not yet on spaces like matrix or IRC, so please use the issue tracker for
for now. now. The [discussions tab] can also be a place to request help from community
members, or engage in productive discussion with the maintainers.
## Contributing ## Contributing
@ -225,7 +236,7 @@ in the most comfortable way possible for the end user. If you have not noticed
any activity on the main branch, consider taking a look at the any activity on the main branch, consider taking a look at the
[list of branches] or the [list of open pull requests]. You may also consider [list of branches] or the [list of open pull requests]. You may also consider
_testing_ those release branches to get access to new features ahead of time and _testing_ those release branches to get access to new features ahead of time and
better prepare to breaking changes. better prepare for breaking changes.
**Q**: Will you support non-flake installations? **Q**: Will you support non-flake installations?
@ -240,8 +251,8 @@ of a configuration generated from Nix?
**A**: Yes! Add `"~/.config/nvim"` to `vim.additionalRuntimePaths = [ ... ]` and **A**: Yes! Add `"~/.config/nvim"` to `vim.additionalRuntimePaths = [ ... ]` and
any plugins you want to load to `vim.startPlugins`. This will load your any plugins you want to load to `vim.startPlugins`. This will load your
configuration from `~/.config/nvim`. You may still use `vim.*` to modify configuration from `~/.config/nvim`. You may still use `vim.*` options in Nix to
Neovim's behaviour with Nix. further configure Neovim.
## Credits ## Credits

View file

@ -154,7 +154,6 @@ isMaximal: {
binds = { binds = {
whichKey.enable = true; whichKey.enable = true;
cheatsheet.enable = true; cheatsheet.enable = true;
hardtime-nvim.enable = isMaximal;
}; };
telescope.enable = true; telescope.enable = true;

12
flake.lock generated
View file

@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749398372, "lastModified": 1753121425,
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", "narHash": "sha256-TVcTNvOeWWk1DXljFxVRp+E0tzG1LhrVjOGGoMHuXio=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", "rev": "644e0fc48951a860279da645ba77fe4a6e814c5e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -73,11 +73,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1750215678, "lastModified": 1752997324,
"narHash": "sha256-Rc/ytpamXRf6z8UA2SGa4aaWxUXRbX2MAWIu2C8M+ok=", "narHash": "sha256-vtTM4oDke3SeDj+1ey6DjmzXdq8ZZSCLWSaApADDvIE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5395fb3ab3f97b9b7abca147249fa2e8ed27b192", "rev": "7c688a0875df5a8c28a53fb55ae45e94eae0dddb",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -55,8 +55,8 @@ in
ext = stdenv.hostPlatform.extensions.sharedLibrary; ext = stdenv.hostPlatform.extensions.sharedLibrary;
in '' in ''
mkdir -p $out/build mkdir -p $out/build
for lib in avante_repo_map avante_templates avante_tokenizers avante_html2md; do for lib in "avante_repo_map" "avante_templates" "avante_tokenizers" "avante_html2md"; do
ln -s ${avante-nvim-lib}/lib/lib$lib${ext} $out/build/$$lib${ext} ln -s ${avante-nvim-lib}/lib/lib$lib${ext} $out/build/$lib${ext}
done done
''; '';