Commit graph

90 commits

Author SHA1 Message Date
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
Pedro Alves
080c8af710 telescope-nvim: init 2021-03-17 21:50:35 +00:00
Pedro Alves
031e1c35f2 goyo: init plugin 2021-02-11 15:35:38 +00:00
Pedro Alves
3624689305 startify: init plugin 2021-02-11 15:27:35 +00:00
Pedro Alves
b13df5bd67 lspsaga: init plugin 2021-02-10 20:56:21 +00:00
Pedro Alves
82158fba9c commentary: init plugin 2021-02-10 15:17:21 +00:00
Pedro Alves
2ca3c09635 undotree: init plugin 2021-02-10 15:09:31 +00:00
Pedro Alves
f97e2f6ffc base16: init plugin 2021-02-10 14:49:33 +00:00
Pedro Alves
0abdb5f01b Support nix-on-droid 2021-02-09 00:03:28 +00:00
Pedro Alves
ea1a5a1a10 treesitter: fix it properly! 2021-02-01 16:40:07 +00:00
Pedro Alves
ba79ba0652 nvim-lsp: create nvim LSP plugin 2021-02-01 15:54:53 +00:00
Pedro Alves
62785421a4 Try to use home-manager 2021-01-25 17:22:02 +00:00
Pedro Alves
32728e5ea9 Add gruvbox options 2021-01-17 22:15:54 +00:00
Pedro Alves
a0fe9e6ca4 Add gitgutter 2021-01-07 16:06:39 +00:00
Pedro Alves
0586bed5ad Add support for mappings 2021-01-05 16:11:56 +00:00
Pedro Alves
7122ccd208 add vim-airline 2021-01-05 11:27:39 +00:00
Pedro Alves
2c9631997f Initial commit 2020-12-30 01:11:23 +00:00