Commit graph

1538 commits

Author SHA1 Message Date
Gaetan Lepage
f1289fadee misc/post-release 24.05: update workflows 2024-06-06 14:46:34 +02:00
Gaetan Lepage
f02d8c95ac misc: prepare 24.05 release 2024-06-06 14:06:46 +02:00
Sefa Eyeoglu
aa4afbeac2
docs: use lib.extend instead of patching nixpkgs
This speeds up evaluation and removes IFD. Additionally, this makes it
easier to maintain these library changes, as we don't have to maintain
static patches.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-06 11:13:52 +01:00
Gaetan Lepage
04671a049a plugins/schemastore: enable lsp in 'empty' test to avoid the warning 2024-06-06 11:39:55 +02:00
Gaetan Lepage
74a6731226 plugins/schemastore: init 2024-06-06 10:53:41 +02:00
Matt Sturgeon
f530700ccd
plugins/dashboard: switch to mkNeovimPlugin + update options
Note: the plugin has had a breaking change since the last time we
checked.
2024-06-05 18:13:31 +01:00
Matt Sturgeon
a54ee8ad64
flake-modules: explicitly set the same nixfmt for treefmt + pre-commit 2024-06-05 09:09:08 +01:00
Matt Sturgeon
d9789956d9
flake-modules: don't explicitly set treefmt package 2024-06-05 09:09:07 +01:00
Matt Sturgeon
4d1d008e78
flake-modules: treefmt is formatter by default
Remove explicit `formatter = config.treefmt.build.wrapper`, because treefmt's `flakeFormatter` option (default `true`) handles that for us.
2024-06-05 09:09:07 +01:00
Matt Sturgeon
ec78d2e1ab
flake-modules: drop flake-root
treefmt isn't actually using flake-root to find the flake's root; it
does it itself.

All we were doing was passing flake-root's default `projectRootFile` to
treefmt, which is `"flake.nix"`;
2024-06-05 09:09:07 +01:00
Matt Sturgeon
77d4e909f8
.git-blame-ignore-revs: init
Added to ignore a treewide reformatting commit when using `git blame`.

See [GitHub's Documentation][1] and the [`git blame` manual][2].

[1]: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
[2]: https://www.git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt
2024-06-05 09:09:07 +01:00
Matt Sturgeon
37dbf9d2e2
modules/clipboard: use md link in description
Use a markdown-syntax link so that the docs show a clickable-link.
2024-06-05 08:04:33 +01:00
Beaudan Brown
cfff48c267
plugins/lsp: add r_language_server 2024-06-04 18:34:23 +01:00
Matt Sturgeon
7ffff28f43
contributing: describe commit title style 2024-06-04 16:16:06 +01:00
Petr Portnov | PROgrm_JARvis
afc98b291d
fix(hmts): correct error message on no treesitter 2024-06-04 16:48:13 +03:00
Matt Sturgeon
b7a8b03190
plugins/lsp: normalise kebab-case-names 2024-06-03 20:56:37 +01:00
Matt Sturgeon
0a24327632
plugins/lsp: automatically add serverName alias
A warning will be printed if the `serverName` alias is used, which may
help new users to figure out the correct `plugins.lsp.servers.*` name.
2024-06-03 20:56:37 +01:00
Matt Sturgeon
61fa26c9e9
plugins/lsp: remove installLanguageServer assertion 2024-06-03 18:10:28 +01:00
Matt Sturgeon
0c2834c50b
readme: add "plugin settings" and "raw lua" sections 2024-06-03 17:05:34 +01:00
Matt Sturgeon
a7cbb0ecf0
readme: move "how it works" near the top 2024-06-03 17:05:29 +01:00
Matt Sturgeon
cf487e09af
readme: move "advanced usage" next to "standalone usage" 2024-06-03 17:05:23 +01:00
Matt Sturgeon
80ed86649b
readme: use pkgs.system in standalone example 2024-06-03 17:05:18 +01:00
Matt Sturgeon
d3f12340e1
readme: put installation instruction in <details> 2024-06-03 17:05:06 +01:00
Gaetan Lepage
4b05fde873 plugins/lsp/efmls-configs: simplify implementation 2024-06-03 17:16:46 +02:00
Mikael Fangel
c0a4c2ef6f docs/user-guide/config-examples: add elythh's config 2024-06-03 10:59:08 +02:00
Gaetan Lepage
dafada6d25 plugins/lsp/efmls-configs: cosmetic-only refactoring 2024-06-03 09:40:33 +02:00
Gaetan Lepage
514413f631 wrappers/hm: add vimdiffAlias option 2024-06-03 00:29:52 +02:00
Gaetan Lepage
34d56c712e plugins/barbar: add keymaps.* options for missing actions
Co-authored-by: Ismaïl Senhaji <134528+iSma@users.noreply.github.com>
2024-06-03 00:25:46 +02:00
Gaetan Lepage
1c270521ad plugins/barbar: switch to mkNeovimPlugin + update options 2024-06-03 00:25:46 +02:00
Gaetan Lepage
513b3c76e2 plugins/lsp/nil_ls: refactor options 2024-06-02 23:50:43 +02:00
Matt Sturgeon
f7e009d29e
lib/options: add mkEnum' argument assertions 2024-06-02 03:18:11 +01:00
Matt Sturgeon
a2443ac0d6
lib/options: add more defaultNullOpts 'variants
All `defaultNullOpts` functions now have a prime variant.
2024-06-02 03:18:10 +01:00
Matt Sturgeon
d136c08f3a
plugins: normalise null plugin-defaults
Replaced all instances of `"null"` with `null`, when passing
plugin-defaults to `defaultNullOpts` functions.
2024-06-02 03:18:10 +01:00
Gaetan Lepage
e58380adcd plugins/lsp/ltex: refactoring of the settings options 2024-06-01 22:44:52 +02:00
Gaetan Lepage
9a9d6c69d8 plugins/copilot-chat: init 2024-06-01 21:11:29 +02:00
Gaetan Lepage
f4ce7dad0e plugins/lsp/lua-ls: add tests 2024-06-01 19:06:02 +02:00
Gaetan Lepage
7c3ae8c718 plugins/lsp/lua-ls: refactor settings options 2024-06-01 19:06:02 +02:00
Gaetan Lepage
adf7bb1301 plugins/lsp/lua-ls: remove useless if/else for default package 2024-06-01 19:06:02 +02:00
Matt Sturgeon
df3aa86713
lib/keymap-helpers: refactor mkMapOptionSubmodule
Make the `key` and `action` options optional, and allow configuring
whether `action` can be a raw type.
2024-06-01 16:19:35 +01:00
Matt Sturgeon
87d6654a9f
lib/options: remove mkStr assert
If a non-string is passed in, it'll be formatted here. This is okay
because `mkDesc` will not re-format anyway.
2024-06-01 15:08:14 +01:00
Matt Sturgeon
297aa6d0a2
lib/options: make mkPackageOption use mkNullOrOption' 2024-06-01 14:33:43 +01:00
Matt Sturgeon
1bb4cb9c6c
lib/options: add mkAttrsOf' & mkListOf' (etc) 2024-06-01 14:33:43 +01:00
Matt Sturgeon
e0b60bac8b
lib/options: add mkNullableWithRaw' variant 2024-06-01 14:33:42 +01:00
Matt Sturgeon
84b2b0d90c
lib/options: add mkNullable' variant 2024-06-01 14:33:42 +01:00
Matt Sturgeon
ed56221499
lib/options: add mkNullOrStrLuaFnOr' variant 2024-06-01 14:33:42 +01:00
Matt Sturgeon
5bcb6184b0
lib/options: add mkNullOrStrLuaOr' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon
56ee982cb4
lib/options: add mkNullOrLuaFn' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon
207bfc6e69
lib/options: add mkNullOrLua' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon
3a151bbf09
lib/options: add mkNullOrStr' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon
9bf7724b98
lib/options: add mkCompositeOption' variant 2024-06-01 14:33:40 +01:00