Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.7 #355

Open
wants to merge 146 commits into
base: main
Choose a base branch
from
Open

v0.7 #355

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
b71bf75
vim.maps rewrite (#352)
diniamo Aug 12, 2024
3ca7e3b
Merge branch 'main' into v0.7
NotAShelf Aug 12, 2024
2fc7dc7
Re-add old maps API (#356)
horriblename Aug 12, 2024
e40cce5
fix: map descriptions (#358)
horriblename Aug 17, 2024
941a2a6
Merge branch 'main' into v0.7
horriblename Aug 24, 2024
141a272
Merge branch 'main' into v0.7
NotAShelf Sep 24, 2024
a6c879e
Merge branch 'main' into v0.7
NotAShelf Sep 26, 2024
5826aeb
Merge branch 'main' into v0.7
NotAShelf Sep 29, 2024
6670d75
fix: missing function (#388)
horriblename Sep 29, 2024
bdf777d
feature: add base16 support (#389)
bloxx12 Oct 5, 2024
3299fac
Merge branch 'main' into v0.7
NotAShelf Oct 5, 2024
18ae3e1
Merge branch 'main' into v0.7
NotAShelf Oct 5, 2024
649f551
flake.lock: Update
NotAShelf Oct 5, 2024
b637f92
maps: allow same key on multiple mode (#360)
horriblename Oct 6, 2024
7a8b95c
Surround setupopts (#402)
diniamo Oct 6, 2024
b39b844
Docs/map rewrite (#403)
horriblename Oct 6, 2024
ef41373
Merge branch 'main' into v0.7
NotAShelf Oct 7, 2024
7dbd1cd
treewide: rewrite autocompletion module and related stuff (#404)
diniamo Oct 9, 2024
c0790c5
languages/kotlin: init (#390)
Soliprem Oct 10, 2024
caaacbf
languages/scala: Add scala language support (#399)
ksonj Oct 12, 2024
f5d33f6
wrapper: disableDefaultRuntimePaths
horriblename Oct 14, 2024
be81f19
Merge branch 'main' into v0.7
NotAShelf Oct 14, 2024
94d2b83
leap: changing default binds (#416)
Soliprem Oct 14, 2024
a7e0542
neorg: init (#413)
Soliprem Oct 15, 2024
54ec473
comment-nvim: fix visual mappings (#417)
diniamo Oct 15, 2024
ff9b0ee
nvim-cmp: fix rewrite remnants (#419)
diniamo Oct 17, 2024
3c4eced
docs: add missing deprecation notes (#420)
diniamo Oct 17, 2024
e80520d
languages: add biome support for formatting (#423)
nezia1 Oct 22, 2024
71e2ae1
languages/nix: change nixpkgs-fmt to nixfmt (rfc-style) (#383)
nezia1 Oct 22, 2024
da86e55
Fix typo in otter setupOpts (#424)
Soliprem Oct 23, 2024
30a8a8f
languages/nix: use stricter type for lsp.server
diniamo Oct 27, 2024
5ab1af9
languages/kotlin: allow specifying a command for lsp.package, fix ind…
diniamo Oct 27, 2024
0aa557d
lsp: avoid vimscript in bindings
diniamo Oct 27, 2024
665feee
languages: csharp init with omnisharp and csharp_ls
diniamo Oct 27, 2024
42c5228
Merge pull request #428 from diniamo/add-csharp
NotAShelf Oct 28, 2024
1166e8a
Merge branch 'main' into v0.7
NotAShelf Nov 1, 2024
c6453c4
languages/julia: add
diniamo Oct 31, 2024
0e76316
languages/vala: init (#432)
Soliprem Nov 3, 2024
21fcace
treewide: implement lazy loading via lz.n for selected plugins (#407)
horriblename Nov 4, 2024
688bb8d
spellcheck: allow adding arbitrary spellfiles from name-value pairs
NotAShelf Oct 21, 2024
f429379
docs: update release notes
NotAShelf Oct 28, 2024
81eda5b
neovim/spellcheck: add autogroup to spellcheck fts autocmd; fix vim-d…
NotAShelf Oct 30, 2024
383924d
meta: update release info
NotAShelf Nov 7, 2024
1badee8
flake: bump nixpkgs
NotAShelf Nov 8, 2024
82c2d4b
flake/packages: rename deprecated `xdg_utils`
NotAShelf Nov 8, 2024
b3f5104
Merge branch 'main' into v0.7
NotAShelf Nov 8, 2024
a6bb6e1
modules/visuals: migrate plugins to setupOpts
NotAShelf Nov 8, 2024
1b16c6b
tabline/nvim-bufferline: remove assertion; enable nvim-web-devicons b…
NotAShelf Nov 8, 2024
57067e8
flake: rename input for nvim-scrollbar
NotAShelf Nov 8, 2024
1bd0ae5
typst: added tinymist and activated formatters (#444)
Soliprem Nov 8, 2024
0ba3ccd
modules: add `config.vim` to built package's passthru
NotAShelf Nov 8, 2024
b302e15
devicon: re-enable icon color
horriblename Nov 8, 2024
43e3663
Merge pull request #445 from horriblename/fix/devicon-color
NotAShelf Nov 8, 2024
dfdad4c
lazy: update lazy.plugins default
horriblename Nov 8, 2024
1604c74
languages/assembly: init (#447)
Soliprem Nov 9, 2024
715408d
nvim-cmp: move text and snippet completions to the bottom
diniamo Nov 4, 2024
7a0e773
flake: bump inputs
NotAShelf Nov 8, 2024
a42a4a4
binds/which-key: migrate to setupOpts
NotAShelf Nov 8, 2024
3af7e44
filetree/neo-tree: rename deprecated `nvimWebDevicons` option
NotAShelf Nov 8, 2024
d3d5bbe
plugins/visuals: remove overzealous multi-line in deprecation message
NotAShelf Nov 8, 2024
516174e
languages/r: adding formatters
Soliprem Nov 9, 2024
c6ff6bb
binds/which-key: changing to the new spec (#448)
Soliprem Nov 10, 2024
4f93abc
languages/zig: don't bundle zig, improve module
diniamo Nov 10, 2024
5a95f81
visuals/tiny-devicons-auto-colors: init module
NotAShelf Nov 9, 2024
6eb5bea
docs: update 0.7 release notes
NotAShelf Nov 10, 2024
c4e75c4
wrapper: get meta from wrapped neovim package
diniamo Nov 10, 2024
cca14c7
docs: fix typo
horriblename Nov 10, 2024
a0281d3
another mistake
horriblename Nov 10, 2024
c08d0a7
docs: cleanup formatting
horriblename Nov 10, 2024
12b650f
lazy: remove redundant submodule
horriblename Nov 10, 2024
a07e113
theme/supported-themes.nix: fix themes
bloxx12 Nov 12, 2024
947cf90
flake: provide dev package
diniamo Nov 12, 2024
e39d469
nvim-cmp: allow passing null to format
diniamo Nov 12, 2024
1df720f
nvim-cmp: use border style
diniamo Nov 12, 2024
7a5c75b
nvim-cmp: fix use of mkDefault for borders
diniamo Nov 13, 2024
2aad0fb
lazy: remove defaults for keys
horriblename Nov 10, 2024
0b0bbfd
lazy: add missing load() wrapper
horriblename Nov 10, 2024
22cfec7
lazy: re-order options for consistency
horriblename Nov 10, 2024
a79827f
lazy: add key.mode example
horriblename Nov 10, 2024
2df52f6
lazy: remove unused imports
horriblename Nov 10, 2024
8099b9c
lib/binds: update lzn bind functions
horriblename Nov 11, 2024
2bce0d9
telescope: add missing mappings, cleanup (#469)
diniamo Nov 15, 2024
c99afe1
trouble: fix binds
diniamo Nov 10, 2024
8a827f9
Merge pull request #453 from diniamo/fix-trouble-binds
diniamo Nov 16, 2024
250b503
flake: update mnw
diniamo Nov 17, 2024
b6785f8
typst: added single file support for tinymist
Soliprem Nov 18, 2024
1d2d4cd
lazy: wrap beforeAll in lua function
horriblename Nov 8, 2024
68392ae
neo-tree: add hijack netrw
horriblename Nov 8, 2024
9c979a4
nvim-tree: hijack netrw
horriblename Nov 8, 2024
d459fd1
neo-tree: move beforeAll to pluginRC
horriblename Nov 19, 2024
dee78a3
nvimtree: move beforeAll to pluginRC
horriblename Nov 19, 2024
e143f46
configuration: switch default file-tree to neo-tree
horriblename Nov 21, 2024
8c95b99
copilot: fix wrong keybind descriptions
horriblename Nov 23, 2024
6645abb
flake: improve deprecation messages for old `neovim-flake` modules'
NotAShelf Nov 4, 2024
94d04ba
docs: clean up project README
NotAShelf Nov 4, 2024
7c8dc07
docs: fix typo in standalone installation pages
NotAShelf Nov 4, 2024
5b54f6d
docs/installation: add standalone flake example
NotAShelf Nov 4, 2024
b260088
docs: add preface to modules chapter
NotAShelf Nov 4, 2024
c382bb0
docs/custom-plugins: better wording and edge cases in legacy-method.md
NotAShelf Nov 7, 2024
d0ae648
docs/custom-plugins: improve wording for DAG; link to local docs
NotAShelf Nov 7, 2024
4156ecf
docs/try-it-out: correct number of available configs; fix typos
NotAShelf Nov 7, 2024
ce6799c
docs/plugins: rename to 'quirks' to be more general
NotAShelf Nov 7, 2024
3443485
docs/preface: include project description in the preface
NotAShelf Nov 7, 2024
eaeb995
docs: use the correct path for quirks.md
NotAShelf Nov 7, 2024
3b27c00
docs/options: include warning about option prefix
NotAShelf Nov 7, 2024
41931ea
docs/installation: un-linline section link
NotAShelf Nov 7, 2024
a8ebd89
docs/hacking: make preface more readable & friendly
NotAShelf Nov 7, 2024
1e9f5d0
docs/installation: connect custom-configuration section to the module…
NotAShelf Nov 7, 2024
cb10266
docs: add anchors to individual headers
NotAShelf Nov 7, 2024
10127a5
docs: compile stylesheet via dart-sass
NotAShelf Nov 8, 2024
71e7072
docs: use the correct NVF_REPO url
NotAShelf Nov 8, 2024
4e82ded
docs/installation: fix logical errors in standalone chapters
NotAShelf Nov 8, 2024
0be7d8a
docs: compile stylesheet via rsass
NotAShelf Nov 9, 2024
7da133c
treewide: remove `with lib;` from docs and sources
NotAShelf Nov 25, 2024
dd8b0e2
flake: add `docs-linkcheck` package for validating hyperlinks
NotAShelf Nov 25, 2024
5618dad
treewide: remove dead links caught by the lychee link check
NotAShelf Nov 25, 2024
e43a067
ci: build docs-checklink package in CI to ensure link validity
NotAShelf Nov 25, 2024
a196e96
docs: format via `deno fmt`
NotAShelf Nov 25, 2024
26bb56e
languages/typst: fixed callback error with non-english characters
Soliprem Nov 26, 2024
d821882
typst: complying with review
Soliprem Nov 26, 2024
a1a8d59
flake: rustaceanvim 2024-11-09 -> 2024-11-25
NotAShelf Nov 26, 2024
38d265d
manual/configuring: in-depth explanation of plugin input overrides
NotAShelf Nov 26, 2024
c2de643
treewide: find and fix typos
NotAShelf Nov 26, 2024
6380037
ci: fix yaml syntax for check-docs workflow
NotAShelf Nov 26, 2024
f86f8bb
meta: update CONTRIBUTING and pull request tempalte
NotAShelf Nov 26, 2024
0e14e80
ci: check for typos in the source tree
NotAShelf Nov 26, 2024
a3038b6
treewide: find and fix more typos
NotAShelf Nov 26, 2024
5589d1f
ci: ignore `viwP` in release notes
NotAShelf Nov 26, 2024
5087c3d
languages/HCL: init (#359)
ppenguin Nov 27, 2024
52ad5ec
modules/nu: init (#477)
Soliprem Nov 28, 2024
fee1b46
lazy: add assertions against common problems (#476)
horriblename Nov 28, 2024
4fd0ac1
Merge branch 'v0.7' into typos-and-friends
NotAShelf Nov 29, 2024
2aeec7c
runner/run-nvim: init
diniamo Nov 21, 2024
48a7462
languages/rust: use local leader for binds
diniamo Nov 24, 2024
0b52ea8
Merge pull request #440 from NotAShelf/typos-and-friends
NotAShelf Nov 30, 2024
71de141
init/basic: deprecate `vim.leaderKey`
diniamo Nov 30, 2024
8bc230b
docs(0.7): add breaking changes entry
diniamo Nov 30, 2024
29b7c41
Merge pull request #474 from diniamo/run-nvim
NotAShelf Nov 30, 2024
ba14b35
wrapper: use freeform types for vim.globals
horriblename Nov 30, 2024
3b6b6e7
docs: rename vim.leaderKey to vim.globals.mapleader
horriblename Nov 30, 2024
0e45c70
neovim/init: set basic options via `vim.options`
NotAShelf Nov 10, 2024
864ee05
wrapper/rc: set `vim.options` and `vim.globals` to freeform submodules
NotAShelf Dec 1, 2024
a6a06f4
modules/{neovim,wrapper}: move Vim options to `vim.options` defaults
NotAShelf Dec 1, 2024
9869161
docs: update changelogs
NotAShelf Dec 1, 2024
d17c010
Merge pull request #455 from NotAShelf/migrate-opts
NotAShelf Dec 1, 2024
c87d252
flake: bump inputs
NotAShelf Dec 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 27 additions & 8 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,42 @@

## Welcome

I'm glad you are thinking about contributing to neovim-flake! If you're unsure about 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.
I'm glad you are thinking about contributing to nvf! If you're unsure about
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 policy (you are here), its [LICENSE](LICENSE.md), and its [README](README.md).
Before you contribute, I encourage you to read this project's CONTRIBUTING
policy (you are here) and its [LICENSE](../LICENSE) to understand how your
contributions are licensed.

If you have any questions regarding those files, feel free to open an issue or [shoot me an email](mailto:[email protected]). Discussions tab is also available for more informal discussions.
If you have any questions regarding those files, feel free to open an issue or
[shoot me an email](mailto:[email protected]). Discussions tab is also available
for more informal discussions.

## Contributing

The contribution process is mostly documented in the [pull request template](pull_request_template.md). You will find a checklist of items to complete before submitting a pull request. Please make sure you complete it before submitting a pull request. If you are unsure about any of the items, please ask.
The contribution process is mostly documented in the
[pull request template](PULL_REQUEST_TEMPLATE/pull_request_template.md). You
will find a checklist of items to complete before submitting a pull request.
Please make sure you complete it before submitting a pull request. If you are
unsure about any of the items, please ask.

### Guidelines

We provide instructions on a healthy contribution to neovim-flake - including styling, commit formats, how-to guides for adding new modules and options.
You are very well recommended to read the contributing guideliner over at [the documentation](https://notashelf.github.io/neovim-flake#hacking)
We provide instructions on a healthy contribution to neovim-flake - including
styling, commit formats, how-to guides for adding new modules and options. You
are very well recommended to read the contributing guidelines over at
[the documentation](https://notashelf.github.io/nvf#hacking)

### Code of Conduct

This project does not quite have a code of conduct yet. And to be honest, I'm not sure if I want one or if it will ever have one. I'm not expecting this project to be a hotbed of activity, but I do want to make sure that everyone who does contribute feels welcome and safe. As such, I will do my best to make sure that those who distrupt the project are dealt with swiftly and appropriately.
This project does not quite have a 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
expecting this project to be a hotbed of activity, but I do want to make sure
that everyone who does contribute feels welcome and safe. As such, I will do my
best to make sure that those who distrupt the project are dealt with swiftly and
appropriately.

If you feel that you are not being treated with respect, please contact me directly.
If you feel that you are not being treated with respect, please contact me
directly.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ or dependency in this section.

If your pull request aims to fix an open issue or a please bug, please also link the relevant issue
below this line. You may attach an issue to your pull request with `Fixes #<issue number>` outside
this comment.
this comment, and it will be closed when your pull request is merged.
-->

## Sanity Checking
Expand All @@ -23,20 +23,20 @@ it above in your description.
[editorconfig]: https://editorconfig.org
[changelog]: https://github.com/NotAShelf/nvf/tree/main/docs/release-notes

- [ ] I have updated the [changelog] as per my changes.
- [ ] I have tested, and self-reviewed my code.
- [ ] I have updated the [changelog] as per my changes
- [ ] I have tested, and self-reviewed my code
- Style and consistency
- [ ] I ran **Alejandra** to format my code (`nix fmt`).
- [ ] My code conforms to the [editorconfig] configuration of the project.
- [ ] My changes are consistent with the rest of the codebase.
- [ ] I ran **Alejandra** to format my code (`nix fmt`)
- [ ] My code conforms to the [editorconfig] configuration of the project
- [ ] My changes are consistent with the rest of the codebase
- If new changes are particularly complex:
- [ ] My code includes comments in particularly complex areas
- [ ] I have added a section in the manual.
- [ ] _(For breaking changes)_ I have included a migration guide.
- [ ] I have added a section in the manual
- [ ] _(For breaking changes)_ I have included a migration guide
- Package(s) built:
- [ ] `.#nix` (default package)
- [ ] `.#maximal`
- [ ] `.#docs-html`
- [ ] `.#docs-html` (manual, must build)
- Tested on platform(s)
- [ ] `x86_64-linux`
- [ ] `aarch64-linux`
Expand Down
72 changes: 46 additions & 26 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,37 @@
[Documentation]: #documentation
[Help]: #help
[Contribute]: #contributing
[FAQ]: #faq
[FAQ]: #frequently-asked-questions
[Credits]: #credits

**[<kbd><br> Features <br></kbd>][Features]**
**[<kbd><br> Get Started <br></kbd>][Get Started]**
**[<kbd><br> Documentation <br></kbd>][Documentation]**
**[<kbd><br> Help <br></kbd>][Help]**
**[<kbd><br> Contribute <br></kbd>][Contribute]**
**[<kbd><br> FAQ <br></kbd>][Faq]** **[<kbd><br> Credits <br></kbd>][Credits]**
**[<kbd><br> FAQ <br></kbd>][FAQ]** **[<kbd><br> Credits <br></kbd>][Credits]**

</p></div>

---

## Features

[standalone]: https://notashelf.github.io/nvf/index.xhtml#ch-standalone-installation
[NixOS module]: https://notashelf.github.io/nvf/index.xhtml#ch-standalone-nixos
[Home-Manager module]: https://notashelf.github.io/nvf/index.xhtml#ch-standalone-hm

- **Simple**: One language to rule them all! Use Nix to configure everything,
with additional Lua Support
- **Reproducible**: Your configuration will behave the same _anywhere_. No
surprises, promise!
- **Portable**: nvf depends _solely_ on your Nix store, and nothing else. No
more global binaries! Works on all platforms, without hassle.
- Options to install [standalone], [NixOS module] or [Home-Manager module].
- **Customizable**: There are _almost no defaults_ to annoy you. nvf is fully
customizable through the Nix module system.
- Not comfortable with a full-nix config or want to bring your Lua config? You
can do just that, no unnecessary restrictions.
- **Well-documented**: Documentation is priority. You will _never_ face
undocumented, obscure behaviour.
- **Idiomatic**: nvf does things ✨ _the right way_ ✨ - the codebase is, and
Expand Down Expand Up @@ -120,7 +129,9 @@ instructions.

## Documentation

The _recommended_ way of installing **nvf** is using either the NixOS or the
### Installation

The _recommended_ way of installing nvf is using either the NixOS or the
Home-Manager module, though it is completely possible and no less supported to
install **nvf** as a standalone package, or a flake output.

Expand All @@ -138,11 +149,13 @@ Please create an issue on the [issue tracker] if you find the documentation
lacking or confusing. Any improvements to the documentation through pull
requests are also welcome, and appreciated.

## Help
## Getting Help

You can create an issue on the [issue tracker] to ask questions or report bugs.
I am not yet on spaces like matrix or IRC, so please use the issue tracker for
now.
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.

We are not not yet on spaces like matrix or IRC, so please use the issue tracker
for now.

## Contributing

Expand All @@ -152,21 +165,23 @@ submitting a pull request. You can also create an issue on the [issue tracker]
before submitting a pull request if you would like to discuss a feature or bug
fix.

## FAQ
## Frequently Asked Questions

[appropriate issue template]: https://github.com/NotAShelf/nvf/issues/new/choose
[list of branches]: https://github.com/NotAShelf/nvf/branches
[list of open pull requests]: https://github.com/NotAShelf/nvf/pulls

**Q**: What platforms are supported?
<br/> **A**: nvf actively supports Linux and Darwin platforms using standalone
Nix, NixOS or Home-Manager. Please take a look at the
Nix, NixOS or Home-Manager. Please take a look at the [nvf manual] for available
installation instructions.

**Q**: Can you add _X_?
<br/> **A**: Maybe! It is not one of our goals to support each and every Neovim
plugin, however, I am always open to new modules and plugin setup additions to
**nvf**. Use the [appropriate issue template] and I will consider a module
addition. As mentioned before, PRs adding new features are also welcome.
addition. As mentioned before, pull requests to add new features are also
welcome.

**Q**: A plugin I need is not available in **nvf**. What to do?
<br/> **A**: **nvf** exposes several APIs for you to be able to add your own
Expand All @@ -185,22 +200,26 @@ better prepare to breaking changes.

### Contributors

Special, heart-felt thanks to
[mnw]: https://github.com/gerg-l/mnw

nvf would not be what it is today without the awesome people below. Special,
heart-felt thanks to

- [@fufexan](https://github.com/fufexan) - For the transition to flake-parts
- [@FlafyDev](https://github.com/FlafyDev) - For getting the home-manager to
work
- [@fufexan](https://github.com/fufexan) - For the transition to flake-parts and
invaluable Nix assistance.
- [@FlafyDev](https://github.com/FlafyDev) - For getting home-manager module to
work and Nix assistance.
- [@n3oney](https://github.com/n3oney) - For making custom keybinds finally
possible
possible, and other module additions.
- [@horriblename](https://github.com/horriblename) - For actively implementing
planned features and quality of life updates
planned features and quality of life updates.
- [@Yavko](https://github.com/Yavko) - For the amazing **nvf** logo
- [@FrothyMarrow](https://github.com/FrothyMarrow) - For seeing mistakes that I
could not
- [@Diniamo](https://github.com/Diniamo) - For actively submitting PRs, pull
requests and overall assistence
- [@Gerg-l](https://github.com/gerg-l) - For the modern Neovim wrapper, mnw and
occasional code improvements
could not.
- [@Diniamo](https://github.com/Diniamo) - For actively submitting pull
requests, issues and assistance with maintenance of nvf.
- [@Gerg-l](https://github.com/gerg-l) - For the modern Neovim wrapper, [mnw],
and occasional code improvements.

and everyone who has submitted issues or pull requests!

Expand All @@ -214,7 +233,7 @@ including:
is originally based on.
- [@sioodmy's](https://github.com/sioodmy)
[dotfiles](https://github.com/sioodmy/dotfiles) that inspired the design
choices.
choices for UI and plugin defaults.
- [@wiltaylor's](https://github.com/wiltaylor)
[neovim-flake](https://github.com/wiltaylor/neovim-flake) for plugin and
design ideas.
Expand All @@ -229,10 +248,11 @@ recommend checking their work out.
## License

Following the license of the
[original neovim-flake](https://github.com/jordanisaacs/neovim-flake), **nvf**
has been made available under the [**MIT License**](LICENSE). However, all
assets and documentation are published under the
[**CC BY License**](https://github.com/NotAShelf/nvf/blob/main/.github/assets/LICENSE).
[original neovim-flake](https://github.com/jordanisaacs/neovim-flake), nvf has
been made available under the [**MIT License**](LICENSE). However, all assets
and documentation are published under the
[**CC BY License**](https://github.com/NotAShelf/nvf/blob/main/.github/assets/LICENSE)
under explicit permission by the artist.

<h6 align="center">Yes, this includes the logo work too. Stop taking artwork that is not yours!</h6>

Expand Down
2 changes: 2 additions & 0 deletions .github/typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

default.extend-ignore-words-re = ["(?i)(noice)", "befores", "annote", "viw"]
24 changes: 15 additions & 9 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,12 @@ jobs:
- docs-manpages
- docs-json
steps:
- uses: easimon/maximize-build-space@v10
with:
overprovision-lvm: true
remove-android: true
remove-dotnet: true
remove-haskell: true

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- uses: actions/checkout@v4
name: Checkout
- name: Checkout
uses: actions/checkout@v4

- name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch main
Expand All @@ -49,3 +42,16 @@ jobs:
with:
name: "${{ matrix.package }}"
path: result/share/doc/nvf
flake-docs-linkcheck:
name: Validate hyperlinks in documentation sources
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Checkout
uses: actions/checkout@v4

- name: Build documentation packages
run: nix build .#docs-linkcheck -Lv
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api \
repos/notashelf/neovim-flake/pulls/${{github.event.number}}/files --paginate \
repos/notashelf/nvf/pulls/${{github.event.number}}/files --paginate \
| jq '.[] | select(.status != "removed") | .filename' \
> "$HOME/changed_files"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: |
nix build .#docs
nix build .#docs -Lv
cp -r result/share/doc/nvf public
- uses: peaceiris/actions-gh-pages@v4
with:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Check for typos in the source tree"

permissions: read-all

on:
pull_request:
workflow_dispatch:
push:

jobs:
check-typos:
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.title, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Check for typos
uses: crate-ci/typos@master
with:
config: .github/typos.toml

- name: Fail Gracefully
if: ${{ failure() }}
shell: bash
run: |
echo "::error:: Current codebase contains typos that were caught by the CI!"
echo "If those typos were intentional, please add them to the ignored regexes in .github/typos.toml"
echo "[skip ci] label may be used if this is a one-time issue"
exit 1
Loading
Loading