Commit graph

24 commits

Author SHA1 Message Date
traxys
1f652b60e5
standalone: Fix extraSpecialArgs (#799)
This commit fixes the usage of `extraSpecialArgs` for standalone nixvim
installations and adds a test to ensure this.

Fixes #779
2023-12-09 15:42:15 +01:00
Gaetan Lepage
45d788bdd9 wrappers: add nixvim-print-init package 2023-12-07 14:38:21 +01:00
traxys
b58b23c799
wrapper: Use symlink join to install man pages for standalone (#736)
Patching the derivation forces a rebuild of neovim, which is
undesirable
2023-11-23 22:11:29 +01:00
Gaetan Lepage
a05b2a9cbf wrappers/standalone: fix 2023-11-21 10:00:48 +01:00
traxys
541b694873
docs: Allow to install man pages (#687) 2023-11-06 16:26:23 +01:00
traxys
0c5dcb56d1
standalone: Allow to pass extraSpecialArgs (#665) 2023-10-23 14:11:29 +02:00
municorn
3fd743fe80 docs: fix grammar, spelling, and text for enable options 2023-10-09 15:04:57 +02:00
Gaetan Lepage
59232f22b5 misc: fix defaultEditor option for HM and NixOS modules 2023-09-19 10:41:57 +02:00
mrtnvgr
bfd1c5bace
feat(options): add defaultEditor option (#589) 2023-09-18 16:38:58 +02:00
Gaetan Lepage
ac83e8c209 wrappers/nixos: set wrapRc to true 2023-08-14 22:14:49 +02:00
Tanish2002
efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Mikaela Allan
744fdd1cd4
fix darwin wrapper (#349) 2023-04-26 18:12:54 +02:00
traxys
5a498edd14
modules/output: Allow to specify text to add as extra files (#343)
To enable some features (like adding tree-sitter queries) we need to add
files to specific directories in the runtime path (queries/lang/file.scm
for tree-sitter queries for example).

This commit adds support for specifying such files. You must be careful
to not have any collisions between `files` and `extraFiles`.
2023-04-21 20:04:58 +02:00
Luc Chabassier
a6eec507cc
Enable creation of other config files than init.lua (#246) 2023-04-20 22:41:37 +02:00
Gaétan Lepage
d6373c62ae
wrappers/standalone: handle assertions (#305) 2023-03-31 15:10:27 +02:00
Alexander Nortung
ecfa870c7a
bugfix: Set default for programs.nixvim. (#234)
fixes #224
2023-03-09 14:03:50 +01:00
Gaétan Lepage
264de8cefb
added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +00:00
LightQuantum
7ccb2b0608
utils: fix #129
* wrappers: fix missing variable

* bufferline: fix type error if indicator is null
2023-02-14 19:51:56 +00:00
Alexander Nortung
63c256dc3d
core: show warnings for deprecated or changed options (#129)
* moved helpers to lib folder

* Created proxy file for helpers.nix

* wrappers: removed code duplication

* null-ls: fix wrong name of variable

* added warnings module

* Added assertions

* bufferline: deprecated option

* nvim-tree: renamed options

* Fixed mkRenamedOption

* Bufferline: added new options

* Fixed deprecated option

Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-24 01:28:01 +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
dfangx
3849a1de9a
Use init.lua instead of init.vim (#64)
* Use init.lua instead of init.vim

* fix standalone generation

Co-authored-by: cyrusng <cyrus.ng@protonmail.com>
Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2022-11-07 15:59:10 +00:00
LightQuantum
1fa86d1699
helpers: expose to config.nixvim.helpers (#59) 2022-11-07 15:12:40 +00: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