Commit graph

66 commits

Author SHA1 Message Date
Gaetan Lepage
4d497915bb flake.nix: follow the nixos-23.11 channel 2023-11-29 22:56:02 +01:00
traxys
541b694873
docs: Allow to install man pages (#687) 2023-11-06 16:26:23 +01:00
traxys
229fe85d6b
docs: Allow to generate man pages for nixvim (#686) 2023-11-06 11:52:30 +01:00
traxys
2031834990
fix: Enable helpers to be passed as an argument in nixvim (#688)
With this change `helpers` can be imported using `{pkgs, lib, helpers,
...}` instead of requiring to `import` it.
2023-11-05 18:34:32 +01:00
PatrickDaG
2019968548
flake: add overlay as an alternative to legacyPackages (#668) 2023-11-01 12:14:59 +01:00
traxys
b393989ba5
flake: Remove formatter excludes, as there are no more autogenerated files (#559) 2023-08-28 13:53:12 +02:00
traxys
09cefd2751
flake: Move helper derivations in a separate directory (#544) 2023-08-24 12:47:03 +02:00
Gaetan Lepage
3f2fd1c078 misc: remove nvfetcher 2023-08-24 11:21:27 +02:00
Wolbyte
ecd593386f
docs: New documentation using mdbook (#471)
* docs: mdbook init

* Separate sub-options into their section

* docs: enable fold

* docs: merge core options into a single section

* doc generation: fix submodules index pages

* docs: add contributing section

* docs: rename 'core' group to 'Neovim Options'

docs: removed the index pages of empty sections

docs: remove obsolete 'mergeFunctionResults' function

* docs: use nix syntax highlighting

* docs: point to the new repo url

* docs: use recursive generation
docs: split submodules into subsections

* docs: fix contributing separator
docs: fix missing submodules docs
2023-08-07 11:48:01 +02:00
Gaetan Lepage
885a746073 plugins/lsp: add nixd language server 2023-06-19 13:08:03 +02:00
Gaetan Lepage
0bd5ea6984 plugins/nvim-lsp: update package for some language servers 2023-06-19 10:23:03 +02:00
traxys
dfb2abd209
hooks: Add a hook for statix (#390) 2023-05-27 00:03:50 +02:00
Tanish2002
efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Alexander Nortung
3600698aba
Added test for template and fixed check export for lib (#361) 2023-05-15 11:04:52 +02:00
Gaétan Lepage
52120a891d
flake: formatting (#342) 2023-04-21 10:16:01 +02:00
Pedro Alves
3ad504ed49 flake: fix my error and export raw modules properly 2023-04-21 01:36:49 +01:00
Pedro Alves
ffe3b6d3d8 flake: export raw modules 2023-04-21 01:34:53 +01:00
*Kim Zick
7f50b54bfb
tests/lib: Add basic unit tests for helpers.toLuaObject (#291) 2023-03-26 11:03:51 +02:00
Gaétan Lepage
db5061b4db
tests/plugins: refactor (#235) 2023-03-22 07:42:02 +01:00
traxys
6544e32396
plugins/nvim-lsp: Update rust-analyzer settings (#263) 2023-03-16 11:19:34 +01:00
traxys
416c719f47
plugins: Fetch the plugin sources from flake inputs (#247) 2023-03-14 23:48:27 +01:00
Alexander Nortung
2c333c86d0
Added nix check and pre commit hook for formatting (#220)
* Added nix check and pre commit hook for formatting

* Removed nix fmt check from CI
2023-03-06 15:06:16 +00:00
Alexander Nortung
2258eb8df8
misc: added flake template (#219)
* Added simple flake template

* Added readme to template

* Updated readme to show how to use the template

* Formatting

* removed unused file from template

* Fixed template url and pkgs

* Formatting
2023-03-03 09:18:52 +00:00
traxys
abc2d19a06
tests: Implement a way to test nixvim (#199)
The tests can be executed using `nix flake check`, they check that
modules can be built, and they execute in neovim without any errors.

This commit only implements tests for tokyonight-nvim upstream defaults
2023-02-28 23:39:55 +00:00
Pedro Alves
df7a6500e4 add nixpkgs to flake inputs 2023-02-20 11:14:07 +00:00
Gaétan Lepage
264de8cefb
added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +00:00
Gaétan Lepage
c73bef16ab
helpers: add mkPackageOption + refactoring (#144) (#150) 2023-01-25 18:46:49 +00:00
Pedro Alves
2d54272177
Revert "helpers: add mkPackageOption + refactoring (#144)" (#149)
This reverts commit b724085447.
2023-01-25 00:03:26 +00:00
Gaétan Lepage
b724085447
helpers: add mkPackageOption + refactoring (#144) 2023-01-24 23:59:06 +00:00
traxys
2f2f724f6a
nvim-lsp: Add settings for rust-analyzer (#113)
* nvim-lsp: Add settings for rust-analyzer

Because the settings are quite complex they are auto-generated. This
commit adds the script creating it & the generated options.

* Update flake.nix

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-21 17:15:46 +00:00
Gaétan Lepage
3c918cfc92
misc: remove trailing whitespaces (#121)
Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-21 17:12:09 +00:00
Pedro Alves
7807c51ccf nixvim: add nix-darwin wrapper 2022-12-30 21:14:54 +01:00
traxys
660c9319e1
wrappers: Extend and document the makeNixvim function (#86)
* wrappers: Allow to customize the nixpkgs used for nixvim

This allows to pass overlays and other such modifications of nixpkgs.

* wrappers: Allow to pass a custom module to nixvim

This is useful to be able to take full advantage of the Nix module
system, with `imports` and `options`.

* README: Update the documentation on the standalone usage

The following information were out of date or incomplete:

- The `build` function has be changed to the `makeNixvim` function.
- `makeNixvimWithModule` has been introduced in order to allow more
customization.
- Added a full example using nixvim in a standalone flake
2022-12-29 17:51:57 +00:00
Pedro Alves
dd9ec124a2 docs: fix documentation generation 2022-12-29 17:34:54 +00:00
Pedro Alves
4c36cdc2e7 null-ls: add beautysh and shellcheck 2022-11-15 11:36:42 +00:00
Pedro Alves
928e7f2673 expose helpers to config.nixvim.helpers (#51) 2022-10-18 14:21:09 +01:00
Luc Chabassier
f2a103da30
Allow using global config with hm and nixos (#48)
* remove useless nixvim file

* reorganize flake outputs

* use global config file with home-manager and nixos
2022-10-17 14:08:17 +01:00
LightQuantum
9ada457ca8
helpers: expose helpers to config.nixvim.helpers 2022-10-16 06:28:05 +08:00
Pedro Alves
6d265c5f15 fix options in standalone usage 2022-10-03 15:21:28 +01:00
Pedro Alves
4ddd3969e5
nixvim: support standalone nixvim
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.

The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.

For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
2022-09-18 11:19:23 +01:00
Pedro Alves
eef84178ab docs: Add basic documentation system based on nmd
You can now run `nix build '.#docs'` to build HTML documentation
documenting every single option on nixvim! Fortunately, thanks to
the 'description' field, most options are already documented, but
there are still a fair few that need documenting.

I will be taking care of those in the next few days. When those are
done, I will find a way to automatically rebuild documentation on every
repo push, and also add a PR hook requiring documentation.

Additionally, I will try to find a way to have per-page plugin docs.
2022-01-12 01:44:51 +00:00
Pedro Alves
6cdfa0b4d8 Remove neovim-nightly dependency 2021-12-10 19:54:17 +00:00
Pedro Alves
aa78a78331 nixvim: fix bug with submodule maps 2021-11-22 14:20:15 +00:00
Pedro Alves
fed1ded896 lualine: update options 2021-11-02 19:37:08 +00:00
Builditluc
ea8d02bf10 lualine: init statusline 2021-11-02 18:12:33 +01:00
Pedro Alves
f7e02b3ccf packer: init plugin 2021-03-18 14:03:17 +00:00
Pedro Alves
5ffa2b4543 ledger: init plugin 2021-03-18 10:04:58 +00:00
Pedro Alves
3ddf463771 onedark: init colorscheme 2021-03-17 22:53:01 +00:00
Pedro Alves
3b02d7ff06 fugitive: init plugin 2021-03-17 22:38:50 +00:00
Pedro Alves
0d51b37154 nvim-autopairs: init plugin
Also disabled Nix for treesitter temporarily, it's broken right now
2021-03-17 22:33:03 +00:00