Gaetan Lepage
ed30fd8588
modules/opts: fix code generation condition to prevent false positives
...
Currently, we generate the lua code as soon as the value of the option
is not an empty attrs.
However, a case where the attrs only contains `null` values
(`nord_colorscheme = null; nord_foo = null;}` would pass the `if`
condition, but the generated lua table would still be empty because
`toLua` filters out those values.
Hence, we should directly check if the attrs would be translated to an
empty lua table or not to decide whether we should generate the lua
snippet or not.
2024-11-20 16:30:09 +01:00
Matt Sturgeon
929bb0cd1c
plugins/telescope: refactor mkExtension
...
Allow importing `mkExtension` without needing to supply any
dependencies.
All dependencies can be accessed via module args anyway.
2024-11-19 17:01:19 +00:00
traxys
c674f10d18
plugins/lsp: Correctly mark servers as disabled if the lsp plugin is disabled
2024-11-19 12:07:42 +01:00
traxys
31eb9d8d75
plugins/lsp: Fix extra config of lsp servers
2024-11-19 12:07:42 +01:00
Matt Sturgeon
2017830a2c
docs/ci: fix a typo when calling mkdir -p
...
Should have been included in 8524447554
2024-11-18 22:33:22 +00:00
Matt Sturgeon
8524447554
docs/ci: fix docs being installed to nixvim/nixvim/<subdir>
...
We don't need to specify `/nixvim/` as part of our install path as that
is where gh-pages uploads to by default.
Rather, we only need to specify the full `/nixvim/foo/` in the base-href
and the install path should just be `/foo`.
2024-11-18 22:16:16 +00:00
Matt Sturgeon
2bc8dc86a0
ci/docs: fix env
vs environment
error
2024-11-18 21:14:40 +00:00
Matt Sturgeon
99b066ba6d
docs: only set base-href in CI built docs
...
This reverts commit c12e59ff7c
2024-11-18 19:54:38 +00:00
Matt Sturgeon
cdbda982f0
docs/search: refactor to use override
2024-11-18 17:53:47 +00:00
github-actions[bot]
9eb07bb16f
flake.lock: Update
...
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/5056a1cf0ce7c2a08ab50713b6c4af77975f6111' (2024-11-17)
→ 'github:nix-community/home-manager/f3a2ff69586f3a54b461526e5702b1a2f81e740a' (2024-11-17)
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/34588d57cfc41c6953c54c93b6b685cab3b548ee' (2024-11-17)
→ 'github:lnl7/nix-darwin/c60b5c924c6188a0b3ca2e139ead3d0f92ae5db5' (2024-11-17)
• Updated input 'nuschtosSearch':
'github:NuschtOS/search/13300b2297c51368e0892c3ebe220f688014fe15' (2024-11-14)
→ 'github:NuschtOS/search/fe07070f811b717a4626d01fab714a87d422a9e1' (2024-11-18)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc' (2024-10-30)
→ 'github:numtide/treefmt-nix/579b9a2fd0020cd9cd81a4ef4eab2dca4d20c94c' (2024-11-18)
2024-11-18 17:17:32 +00:00
Gaetan Lepage
f4c910dd82
tests/lsp-servers: disable deprecated servers
2024-11-18 09:07:32 +00:00
Gaetan Lepage
a773b945fb
tests/lsp: ruff_lsp is deprecated, test ruff instead
2024-11-18 09:07:32 +00:00
Gaetan Lepage
e1417016df
tests/{lsp-servers,efmls-configs}: disable psalm
...
https://github.com/NixOS/nixpkgs/pull/356704
2024-11-18 09:07:32 +00:00
Gaetan Lepage
8b77198d49
tests/{none-ls,efmls-configs}: disable phpstan
...
https://github.com/NixOS/nixpkgs/pull/356691
2024-11-18 09:07:32 +00:00
Gaetan Lepage
909b4f41d7
tests: re-enable lua-language-servers tests on all platforms
...
This reverts commit 432af78ffd
.
2024-11-18 09:07:32 +00:00
Gaetan Lepage
1ee4915f65
plugins/lsp: update lsp-packages.nix
2024-11-18 09:07:32 +00:00
github-actions[bot]
00365d6d40
generated: Updated lspconfig-servers.json
2024-11-18 09:07:32 +00:00
github-actions[bot]
b5a999fb22
flake.lock: Update
...
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/1d0862ee2d7c6f6cd720d6f32213fa425004be10' (2024-11-14)
→ 'github:nix-community/home-manager/5056a1cf0ce7c2a08ab50713b6c4af77975f6111' (2024-11-17)
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/f86f158efd4bab8dce3e207e4621f1df3a760b7a' (2024-11-15)
→ 'github:lnl7/nix-darwin/34588d57cfc41c6953c54c93b6b685cab3b548ee' (2024-11-17)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c' (2024-11-11)
→ 'github:NixOS/nixpkgs/5e4fbfb6b3de1aa2872b76d49fafc942626e2add' (2024-11-15)
2024-11-18 09:07:32 +00:00
bpatel347
5bc3fa6996
plugins/quarto: init
...
Use neovim-plugin.mkNeovimPlugin and move quarto-nvim to quarto
Rename tests to match convention
Passing tests locally, add required dependencies
Utilize `let` - `in` block
Remove extraPlugins
plugins/quarto: init
plugin/quarto: init
plugins/quarto: init
plugins/quarto: init
2024-11-17 22:51:48 +00:00
Anthony Cicchetti
9d99d7cfdb
plugins/lsp: remove buf-language-server
2024-11-16 13:13:02 -05:00
Matt Sturgeon
587b1cbf21
lib/types: allow inline-lua in rawLua
type
2024-11-16 17:20:11 +00:00
Matt Sturgeon
c8267ba395
plugins/tmux-navigator: re-word usage instructions
2024-11-16 17:01:43 +00:00
Matt Sturgeon
a52572c060
plugins/tmux-navigator: use markdown admonition
2024-11-16 17:01:42 +00:00
bpatel347
7b0df222fc
plugins/kulala: init
2024-11-16 16:43:44 +00:00
github-actions[bot]
5c6dd20aeb
flake.lock: Update
...
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/35b055009afd0107b69c286fca34d2ad98940d57' (2024-11-13)
→ 'github:nix-community/home-manager/1d0862ee2d7c6f6cd720d6f32213fa425004be10' (2024-11-14)
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/6c71c49e2448e51ad830ed211024e6d0edc50116' (2024-11-12)
→ 'github:lnl7/nix-darwin/f86f158efd4bab8dce3e207e4621f1df3a760b7a' (2024-11-15)
• Updated input 'nuschtosSearch':
'github:NuschtOS/search/135d202e032be70c93b6d7d53592ef4799d6efde' (2024-11-11)
→ 'github:NuschtOS/search/13300b2297c51368e0892c3ebe220f688014fe15' (2024-11-14)
• Updated input 'nuschtosSearch/flake-utils':
'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
→ 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b' (2024-11-13)
2024-11-16 12:33:52 +00:00
Matt Sturgeon
be455f7f27
lib/options: use literalLua
for defaultNullOpts.mkRaw
2024-11-15 21:46:25 +00:00
Matt Sturgeon
da6e3499d4
lib/utils: add nestedLiteral
and nestedLiteralLua
...
`nestedLiteral` converts a `literalExpression` into a `toPretty` style
pretty-printer.
`nestedLiteralLua` composes `nestedLiteral` and `literalLua` together.
2024-11-15 21:46:25 +00:00
Matt Sturgeon
eb76e62a9b
lib/utils: add literalLua
for use in option docs
...
Creates a `literalExpression` equivalent to using `lib.nixvim.mkRaw`.
2024-11-15 21:46:25 +00:00
Matt Sturgeon
de99f2938f
lib/{vim,neovim}-plugin: installPackage
-> packageDecorator
...
Replace `mkNeovimPlugin`'s `installPackage` parameter with a new
internal module option: `packageDecorator`.
The option is a function that applies some transformation to
`cfg.package`'s value before it is installed.
2024-11-15 21:44:59 +00:00
Heitor Augusto
1d78aee791
tests/modules/clipboard: add raw lua code test
2024-11-15 18:40:10 +00:00
Heitor Augusto
ef8d57aba0
modules/clipboard: allow raw lua code in register option
2024-11-15 18:40:10 +00:00
DataHearth
5095066df6
docs: improve mk(Neovim/Vim)Plugin function documentation
2024-11-15 18:01:14 +00:00
Heitor Augusto
46e574d4ea
plugins/snacks: init
2024-11-15 12:55:03 +00:00
bpatel347
54f567166d
plugins/vim-dadbod-completion: init
...
plguins/vim-dadbod-completion: Add cmpSource
2024-11-15 09:05:53 +00:00
bpatel347
5dfc9526ef
plugins/vim-dadbod-ui: init
2024-11-15 09:05:53 +00:00
bpatel347
d408ffd6b4
plugins/vim-dadbod: init
2024-11-15 09:05:53 +00:00
bpatel347
f2259372fb
plugins/neoconf: init
...
Update maintainers, remove unused pkgs
plugins/neoconf: init
plugins/neoconf: init
2024-11-15 07:27:48 +00:00
bpatel347
f8b3f16556
maintainers: add BoneyPatel
2024-11-15 07:27:48 +00:00
github-actions[bot]
24fe0dd247
flake.lock: Update
...
Flake lock file updates:
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/d70155fdc00df4628446352fc58adc640cd705c2' (2024-11-05)
→ 'github:cachix/git-hooks.nix/cd1af27aa85026ac759d5d3fccf650abe7e1bbf0' (2024-11-11)
• Updated input 'home-manager':
'github:nix-community/home-manager/60bb110917844d354f3c18e05450606a435d2d10' (2024-11-10)
→ 'github:nix-community/home-manager/35b055009afd0107b69c286fca34d2ad98940d57' (2024-11-13)
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/5c74ab862c8070cbf6400128a1b56abb213656da' (2024-11-09)
→ 'github:lnl7/nix-darwin/6c71c49e2448e51ad830ed211024e6d0edc50116' (2024-11-12)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2' (2024-11-09)
→ 'github:NixOS/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c' (2024-11-11)
• Updated input 'nuschtosSearch':
'github:NuschtOS/search/ef493352f9e1f051e01a55c062731503a6b36b4e' (2024-11-08)
→ 'github:NuschtOS/search/135d202e032be70c93b6d7d53592ef4799d6efde' (2024-11-11)
2024-11-14 08:01:30 +00:00
Gaetan Lepage
ccae4350d0
options: add defaultNullOpts.mkRaw
2024-11-13 23:38:31 +01:00
Heitor Augusto
f11a877bcc
tests/modules/output: add tests for providers
2024-11-13 16:55:33 -03:00
Heitor Augusto
d100a4e994
modules/output: expose withPython3
2024-11-13 16:23:27 -03:00
Heitor Augusto
590153d403
modules/output: expose withPerl
2024-11-13 15:21:17 -03:00
Pyxels
e552c984a2
plugins/nonels/prettier: use priority instead of null for prettier disableTsFormatting
2024-11-13 13:25:10 +00:00
Pyxels
d593b82436
plugins/nonels/prettierd: add disableTsServerFormatting option to prettierd
...
Add a new option (and warning) to disable the typescript-language-server (ts_ls) formatting the same as for prettier.
2024-11-13 13:25:10 +00:00
bpatel347
7dc65b2d98
docs/contributing: update documentation for running single tests
...
docs/contributing: update documentation for running single tests
docs/contributing: update documentation for running single tests
2024-11-12 22:59:43 +00:00
bpatel347
c892aa2073
docs/user-guide/config-examples: remove trailing whitespace
2024-11-11 20:26:53 +00:00
bpatel347
3415e10419
docs/user-guide/config-examples: add bkp5190
2024-11-11 20:26:53 +00:00
Matt Sturgeon
a92339d83b
docs: specify site-url
...
Fixes 404 page's relative links and styling being relative to `/`.
2024-11-11 18:51:14 +00:00
Sandro Jäckel
4ea34656c2
plugins/lsp: enable angularls
2024-11-11 17:42:16 +01:00