Commit graph

2522 commits

Author SHA1 Message Date
Gaetan Lepage
e1e417bff8 plugins/image: init 2024-01-01 22:08:54 +01:00
Gaetan Lepage
99ebb5f074 helpers: fix typo 2024-01-01 21:49:35 +01:00
traxys
abd1c4007a
helpers: Add mkLua,mkLuaFn (defaultNullOpts or not) (#866)
This makes it such that defaultNullOpts.mkStr never represents a lua
string, easing documenting where a string is a lua string vs lua code.
2024-01-01 20:28:55 +01:00
Gaetan Lepage
f2e808a519 plugins: add a sensible template for modern plugins 2024-01-01 02:54:17 +01:00
Markus Lohmayer
2bcdcfafe5
plugins/lsp: add marksman language server (#867) 2023-12-31 21:32:33 +01:00
Glen
5fcfb763cd
plugins/lsp: add dhall-lsp-server (#860)
* lsp.servers: add dhall-lsp-server(dhall language)

tests: add dhall lsp server to tests

squash me

* Update plugins/lsp/language-servers/default.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update tests/test-sources/plugins/lsp/_lsp.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/lsp/language-servers/default.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-12-30 23:26:50 +01:00
github-actions[bot]
9738dae3ea flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6' (2023-12-19)
  → 'github:NixOS/nixpkgs/cfc3698c31b1fb9cdcf10f36c9643460264d0ca8' (2023-12-27)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/007a45d064c1c32d04e1b8a0de5ef00984c419bc' (2023-12-13)
  → 'github:cachix/pre-commit-hooks.nix/7f35ec30d16b38fe0eed8005933f418d1a4693ee' (2023-12-24)
2023-12-30 14:59:18 +01:00
traxys
1d8e7906c9
plugins: Introduce helpers.defaultNullOpts.mkLuaFn (#855)
This allows to avoid calling `mkRaw` on lua functions, as they will get
applied automatically.

This could also help in the future to refactor the use of Lua code to
make it more user-friendly.
2023-12-29 15:24:42 +01:00
Gaetan Lepage
b38dbdb0dc plugins/fidget: adapt to latest rewrite of the plugin 2023-12-29 12:23:06 +01:00
traxys
5d49b9b66d
plugin/illuminate: Avoid using mkAttrsOf with submodules (#853)
This confuses the documentation, as mentioned in the function
definition.
2023-12-29 11:52:05 +01:00
Gaetan Lepage
3b9fa101fb plugins/illuminate: fix filetypeOverrides option 2023-12-29 11:16:15 +01:00
Gaetan Lepage
acc9c8cad1 modules/options: improve documentation 2023-12-29 10:52:24 +01:00
Gaetan Lepage
61013ca4ab plugins/startup: init 2023-12-28 18:06:05 +01:00
Gaetan Lepage
a7144cfbf7 modules/options: refactoring 2023-12-28 11:52:46 +01:00
Gaetan Lepage
02149dbb01 modules/options: add localOptions and globalOptions 2023-12-28 11:52:46 +01:00
Ryan
b140981d65
plugins/rust-tools: Allow null serverPackage (#845)
Some users might want to use rust-analyzer beta/nightly from their own nix develop shell.
2023-12-27 21:33:01 +01:00
Ariel D'Alessandro
c11158c73e fix: add missing test 2023-12-24 17:32:43 +01:00
Ariel D'Alessandro
08b055af7e feat: add laravel pint formating to none-ls 2023-12-24 17:32:43 +01:00
Mikael Fangel
310f1ad5b5 plugins/none-ls: init golines 2023-12-24 00:20:42 +01:00
Mikael Fangel
6e66c1bc5e plugins/none-ls: init goimports 2023-12-24 00:20:42 +01:00
Mikael Fangel
9119cc1554 plugins/none-ls: init staticcheck 2023-12-24 00:20:42 +01:00
Mikael Fangel
6e8bc402af plugins/none-ls: init revive 2023-12-24 00:20:42 +01:00
github-actions[bot]
2e69cb98e0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/91a00709aebb3602f172a0bf47ba1ef013e34835' (2023-12-17)
  → 'github:NixOS/nixpkgs/54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6' (2023-12-19)
2023-12-23 20:48:31 +01:00
traxys
e0521dde87
helpers: Allow to set raw lua code in more places (#837)
With this change a user should be able to set raw lua code in more
places than before.

The `mkStr` helper was _not_ changed as a large number of places in
nixvim are using this helper to directly implement raw lua code.

Also note that types of the form `oneOf [submodule <something else>` are
not well rendered in the documentation, and should be avoided (this
includes `listOf [submodule <something else>`, so the helpers should be
avoided in this case)
2023-12-22 16:55:50 +01:00
traxys
2871dc94b4
Allow to add meta options like maintainers (#836) 2023-12-22 15:59:41 +01:00
Tilman Andre Mix
189ae51b02 Update tests/test-sources/plugins/lsp/_lsp.nix to not run ols test on aarch64-linux
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-12-22 15:07:39 +01:00
Tilman Andre Mix
18124f5eeb tests: fix failing test because of unknown option
tests failed because lsp.servers.odin was unknown,
the option was named lsp.servers.ols, so fixed this

Signed-off-by: Tilman Andre Mix <tilmanmixyz@proton.me>
2023-12-22 15:07:39 +01:00
Tilman Andre Mix
9ab350de7d tests: add ols lsp server to tests
Signed-off-by: Tilman Andre Mix <tilmanmixyz@proton.me>
2023-12-22 15:07:39 +01:00
Tilman Andre Mix
be87bb0fd6 lsp.servers: add ols (odin language)
Signed-off-by: Tilman Andre Mix <tilmanmixyz@proton.me>
2023-12-22 15:07:39 +01:00
Gaetan Lepage
ebe13a1d24 plugins/treesitter: fix typo 2023-12-22 14:48:15 +01:00
Gaetan Lepage
ff7fe40bf6 plugins/rainbow-delimiters: remove warnings 2023-12-22 14:48:15 +01:00
Gaetan Lepage
dbcd314708 plugins: use LogLevel where possible 2023-12-22 14:48:15 +01:00
Gaetan Lepage
a70947a563 lib/helpers: add defaultNullOpts.mkLogLevel 2023-12-22 14:48:15 +01:00
Gaetan Lepage
290855ed3d plugins: use mkSeverity where possible 2023-12-22 14:48:15 +01:00
Gaetan Lepage
e49bec3901 lib/helpers: add defaultNullOpts.mkSeverity 2023-12-22 14:48:15 +01:00
Gaetan Lepage
86508ced91 plugins/yanky: init 2023-12-22 14:47:12 +01:00
Tanish Khare
ce95b04d71
change type of pylsp_mypy.overrides (#833) 2023-12-22 12:12:18 +01:00
NAHO
43d20e8332
docs(readme): improve logo quality (#830) 2023-12-21 20:01:44 +01:00
NAHO
fc94d7468d
plugins/debugprint: add missing createCommands option (#831) 2023-12-21 19:19:32 +01:00
Gaetan Lepage
6d72e00455 plugins/debugprint: init 2023-12-21 10:15:22 +01:00
Gaetan Lepage
dceeab73b1 plugins/lint: uncomment autoCmd config line 2023-12-20 20:22:28 +01:00
Gaetan Lepage
81d103b69b plugins/telescope: mark internal options as such 2023-12-20 18:51:17 +01:00
Gaetan Lepage
2463b52250 plugins/copilot-vim: remove literalExample 2023-12-20 16:50:50 +01:00
Gaetan Lepage
c09e484740 plugins/efmls-configs: add missing prettypst formatter from allToolPkgs 2023-12-20 16:50:50 +01:00
Gaetan Lepage
b90a6be04c tests/lsp: re-enable typst-lsp 2023-12-20 16:50:50 +01:00
github-actions[bot]
b94a8401a1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)
  → 'github:NixOS/nixpkgs/91a00709aebb3602f172a0bf47ba1ef013e34835' (2023-12-17)
2023-12-20 16:50:50 +01:00
Gaetan Lepage
309e5644fc plugins/wtf: init 2023-12-18 11:29:45 +01:00
Gaetan Lepage
b3fb1c4c81 helpers/keymaps: add mkMapOptionsSubmodule 2023-12-15 16:19:28 +01:00
Gaetan Lepage
798cbe99ce plugins/lsp: add graphql language server 2023-12-15 14:01:03 +01:00
Gaetan Lepage
41f5b167e7 templates/README: update regarding template lock file management 2023-12-13 23:53:58 +01:00