Austin Horstman
52c68b4da4
plugins/claude-code: add claude-code dependency
2025-05-08 10:35:31 +02:00
Austin Horstman
b17c801f2e
plugins/claude-code: init module
2025-05-08 10:35:31 +02:00
Gaetan Lepage
6597afe209
tests/lsp: disable ols test because odin is broken
...
https://github.com/NixOS/nixpkgs/pull/404919
2025-05-07 22:43:05 +02:00
github-actions[bot]
60f9ddf369
generated: Updated lspconfig-servers.json
2025-05-07 19:58:51 +00:00
github-actions[bot]
dfca942dbb
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/ed30f8aba41605e3ab46421e3dcb4510ec560ff8?narHash=sha256-5oLdRa3vWSRbuqPIFFmQBGGUqaYZBxX%2BGGtN9f/n4lU%3D' (2025-05-04)
→ 'github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?narHash=sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0%3D' (2025-05-07)
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/dcf5072734cb576d2b0c59b2ac44f5050b5eac82?narHash=sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco%3D' (2025-03-22)
→ 'github:cachix/git-hooks.nix/fa466640195d38ec97cf0493d6d6882bc4d14969?narHash=sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS%2BnoCWo%3D' (2025-05-06)
• Updated input 'home-manager':
'github:nix-community/home-manager/8a318641ac13d3bc0a53651feaee9560f9b2d89a?narHash=sha256-i6BoiQP0PasExESQHszC0reQHfO6D4aI2GzOwZMOI20%3D' (2025-05-05)
→ 'github:nix-community/home-manager/708074ae6db9e0468e4f48477f856e8c2d059795?narHash=sha256-Mp5Bbvb%2BYlFEZ76C/0wFS6C1lRfH3D60u465wFNlnS0%3D' (2025-05-07)
2025-05-07 19:58:26 +00:00
github-actions[bot]
9b5e955b51
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ed30f8aba41605e3ab46421e3dcb4510ec560ff8?narHash=sha256-5oLdRa3vWSRbuqPIFFmQBGGUqaYZBxX%2BGGtN9f/n4lU%3D' (2025-05-04)
→ 'github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?narHash=sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0%3D' (2025-05-07)
2025-05-07 19:58:20 +00:00
Matt Sturgeon
5c52e8f9e4
plugins.lsp: alias onAttach
to new lsp.onAttach
...
This simplifies the impl by doing global on-attach logic in a
`LspAttach` autocmd instead of adding lua lines to each server's
individual `on_attach` callback.
This is effectively a `mkAliasOptionModule` alias, other than the alias
only being applied when `plugins.lsp.enable`.
2025-05-07 14:51:45 +01:00
Matt Sturgeon
c26f5c2e31
plugins/lsp-format: use lsp.onAttach
instead of an autoCmd
2025-05-06 14:08:03 +01:00
Matt Sturgeon
a45b5f372f
modules/lsp: add onAttach
option
...
Similar to `plugins.lsp.onAttach`, implement a "global" equivalent to
the per-server `on_attach` callback.
This is implemented using a `LspAttach` autoCmd.
2025-05-06 14:08:03 +01:00
github-actions[bot]
391e4fd093
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/6b1c028bce9c89e9824cde040d6986d428296055?narHash=sha256-VBmKSkmw9PYBCEGhBKzORjx%2BnwNZkPZyHcUHE21A/ws%3D' (2025-05-04)
→ 'github:NixOS/nixpkgs/ed30f8aba41605e3ab46421e3dcb4510ec560ff8?narHash=sha256-5oLdRa3vWSRbuqPIFFmQBGGUqaYZBxX%2BGGtN9f/n4lU%3D' (2025-05-04)
2025-05-06 12:17:30 +00:00
github-actions[bot]
1d0e4a0bb5
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/6b1c028bce9c89e9824cde040d6986d428296055?narHash=sha256-VBmKSkmw9PYBCEGhBKzORjx%2BnwNZkPZyHcUHE21A/ws%3D' (2025-05-04)
→ 'github:NixOS/nixpkgs/ed30f8aba41605e3ab46421e3dcb4510ec560ff8?narHash=sha256-5oLdRa3vWSRbuqPIFFmQBGGUqaYZBxX%2BGGtN9f/n4lU%3D' (2025-05-04)
2025-05-06 12:17:25 +00:00
Matt Sturgeon
5308425718
modules/lsp/servers: move to dedicated file/dir
...
Move the code related to the `lsp.servers` option into a dedicated module,
cleaning up `modules/lsp/default.nix`.
2025-05-05 23:43:30 +01:00
Jeremy Fleischman
64cd675ece
Port lsp-format to use non-deprecated setup instructions
...
Upstream still documents the now-deprecated
`require("lspconfig").<name>.setup` mechanism. I believe the modern
alternative is to register a `LspAttach` autocmd. For more context, see:
- https://github.com/lukas-reineke/lsp-format.nvim/issues/98
- https://github.com/lukas-reineke/lsp-format.nvim/pull/99
2025-05-05 14:13:25 -07:00
github-actions[bot]
4016854bcc
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/f21e4546e3ede7ae34d12a84602a22246b31f7e0?narHash=sha256-thYTdWqCRipwPRxWiTiH1vusLuAy0okjOyzRx4hLWh4%3D' (2025-05-03)
→ 'github:NixOS/nixpkgs/6b1c028bce9c89e9824cde040d6986d428296055?narHash=sha256-VBmKSkmw9PYBCEGhBKzORjx%2BnwNZkPZyHcUHE21A/ws%3D' (2025-05-04)
• Updated input 'home-manager':
'github:nix-community/home-manager/621986fed37c5d0cb8df010ed8369694dc47c09b?narHash=sha256-/jZ4Wd4HHUEWPSlNj48k1E4Mh%2B1fUbwI/vSlPPIMG3U%3D' (2025-05-04)
→ 'github:nix-community/home-manager/8a318641ac13d3bc0a53651feaee9560f9b2d89a?narHash=sha256-i6BoiQP0PasExESQHszC0reQHfO6D4aI2GzOwZMOI20%3D' (2025-05-05)
2025-05-05 22:25:15 +10:00
github-actions[bot]
9cad0ea694
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f21e4546e3ede7ae34d12a84602a22246b31f7e0?narHash=sha256-thYTdWqCRipwPRxWiTiH1vusLuAy0okjOyzRx4hLWh4%3D' (2025-05-03)
→ 'github:NixOS/nixpkgs/6b1c028bce9c89e9824cde040d6986d428296055?narHash=sha256-VBmKSkmw9PYBCEGhBKzORjx%2BnwNZkPZyHcUHE21A/ws%3D' (2025-05-04)
2025-05-05 22:25:15 +10:00
Gaetan Lepage
ce5d708018
plugins/blink-copilot: Mention in the description that copilot-lua is enabled by default
2025-05-05 22:11:17 +10:00
FKouhai
7d18194a22
colorschemes/kanagawa-paper: init
2025-05-04 20:42:00 +01:00
github-actions[bot]
f7f2dd042f
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/9a7caecf30a0494c88b7daeeed29244cd9a52e7d?narHash=sha256-JA4DynBKhY7t4DdJZTuomRLAiXFDUgCGGwxgt%2BXGiik%3D' (2025-05-02)
→ 'github:NixOS/nixpkgs/f21e4546e3ede7ae34d12a84602a22246b31f7e0?narHash=sha256-thYTdWqCRipwPRxWiTiH1vusLuAy0okjOyzRx4hLWh4%3D' (2025-05-03)
• Updated input 'home-manager':
'github:nix-community/home-manager/c0962eeeabfb8127713f859ec8a5f0e86dead0f2?narHash=sha256-DQycVmlyLQNLjLJ/FzpokVmbxGQ8HjQQ4zN4nyq2vII%3D' (2025-05-03)
→ 'github:nix-community/home-manager/621986fed37c5d0cb8df010ed8369694dc47c09b?narHash=sha256-/jZ4Wd4HHUEWPSlNj48k1E4Mh%2B1fUbwI/vSlPPIMG3U%3D' (2025-05-04)
2025-05-04 12:14:26 +00:00
github-actions[bot]
f40d12684a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/9a7caecf30a0494c88b7daeeed29244cd9a52e7d?narHash=sha256-JA4DynBKhY7t4DdJZTuomRLAiXFDUgCGGwxgt%2BXGiik%3D' (2025-05-02)
→ 'github:NixOS/nixpkgs/f21e4546e3ede7ae34d12a84602a22246b31f7e0?narHash=sha256-thYTdWqCRipwPRxWiTiH1vusLuAy0okjOyzRx4hLWh4%3D' (2025-05-03)
2025-05-04 12:14:23 +00:00
Gaetan Lepage
c978122396
plugins/lf: use nestedLiteralLua in settingsExample
2025-05-04 00:03:37 +02:00
Benedikt Peetz
8fcd7f1a92
plugins/lf: init
2025-05-03 22:58:16 +01:00
Matt Sturgeon
552dec0e55
modules/lsp/keymaps: init
...
Initial LSP keymaps option, inspired by `keymapsOnEvent` and
`plugins.lsp.keymaps`.
Users can define `lspBufAction` instead of `action` if they wish to use
a `vim.lsp.buf.<action>` callback.
2025-05-03 22:50:28 +01:00
Matt Sturgeon
90eb4e681c
modules/lsp/servers: move the *
server to its own module
...
Introduce a bespoke `global-server.nix` module. This is less DRY, but
much simpler.
The `lsp.servers."*"` options are different enough from the other
`lsp.servers.<name>` options that it is simpler to just declare them
separately.
Now that we have a dedicated `global-server.nix` module, we no longer
need to split the normal server module into `server.nix`+`server-base.nix`
This partially reverts f2e96b67a3
2025-05-03 20:20:19 +01:00
Johan Larsson
8b3107ad6f
plugins/clangd-extensions: adapt to new lsp module
...
Adapt warnings, default settings, and tests to the new lsp module. Also
change the previous warning, which I think should target the clangd
server directly, and just not `plugins.lsp`, since the clangd server is
necessary for clangd-extensions to function.
2025-05-03 17:21:30 +01:00
github-actions[bot]
3f180f35b8
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/032bc6539bd5f14e9d0c51bd79cfe9a055b094c3?narHash=sha256-zBuvmL6%2BCUsk2J8GINpyy8Hs1Zp4PP6iBWSmZ4SCQ/s%3D' (2025-05-02)
→ 'github:NixOS/nixpkgs/9a7caecf30a0494c88b7daeeed29244cd9a52e7d?narHash=sha256-JA4DynBKhY7t4DdJZTuomRLAiXFDUgCGGwxgt%2BXGiik%3D' (2025-05-02)
• Updated input 'home-manager':
'github:nix-community/home-manager/f045bd46b73c3b0ed4e46cdb6036b3d5823d7dee?narHash=sha256-hmHKl4meWr6ryzqQAwRD3%2B3Ihfb/Y/0CbK%2BWnE%2Boa6Q%3D' (2025-05-02)
→ 'github:nix-community/home-manager/c0962eeeabfb8127713f859ec8a5f0e86dead0f2?narHash=sha256-DQycVmlyLQNLjLJ/FzpokVmbxGQ8HjQQ4zN4nyq2vII%3D' (2025-05-03)
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/4515dacafb0ccd42e5395aacc49fd58a43027e01?narHash=sha256-Gyh/fkCDqVNGM0BWvk%2B4UAS17w2UI6iwnbQQCmc1TDI%3D' (2025-04-28)
→ 'github:lnl7/nix-darwin/760a11c87009155afa0140d55c40e7c336d62d7a?narHash=sha256-Y062AuRx6l%2BTJNX8wxZcT59SSLsqD9EedAY0mqgTtQE%3D' (2025-05-03)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/82bf32e541b30080d94e46af13d46da0708609ea?narHash=sha256-k5ELLpTwRP/OElcLpNaFWLNf8GRDq4/eHBmFy06gGko%3D' (2025-04-29)
→ 'github:numtide/treefmt-nix/29ec5026372e0dec56f890e50dbe4f45930320fd?narHash=sha256-4h3s1L/kKqt3gMDcVfN8/4v2jqHrgLIe4qok4ApH5x4%3D' (2025-05-02)
2025-05-04 00:26:12 +10:00
github-actions[bot]
47a6ac42d2
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/032bc6539bd5f14e9d0c51bd79cfe9a055b094c3?narHash=sha256-zBuvmL6%2BCUsk2J8GINpyy8Hs1Zp4PP6iBWSmZ4SCQ/s%3D' (2025-05-02)
→ 'github:NixOS/nixpkgs/9a7caecf30a0494c88b7daeeed29244cd9a52e7d?narHash=sha256-JA4DynBKhY7t4DdJZTuomRLAiXFDUgCGGwxgt%2BXGiik%3D' (2025-05-02)
2025-05-04 00:26:12 +10:00
Johan Larsson
8523385bd8
plugins/schemastore: adapt to new lsp module
...
Modify warnings, tests, and default settings to work with the new lsp
module.
Update plugins/by-name/schemastore/default.nix
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Update plugins/by-name/schemastore/default.nix
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-03 09:43:04 +02:00
Johan Larsson
4b27678512
plugins/iron: init
...
Update plugins/by-name/iron/default.nix
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2025-05-02 23:25:40 +02:00
github-actions[bot]
a681f7441d
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/3afd19146cac33ed242fc0fc87481c67c758a59e?narHash=sha256-OxYwCGJf9VJ2KnUO%2Bw/hVJVTjOgscdDg/lPv8Eus07Y%3D' (2025-05-01)
→ 'github:NixOS/nixpkgs/032bc6539bd5f14e9d0c51bd79cfe9a055b094c3?narHash=sha256-zBuvmL6%2BCUsk2J8GINpyy8Hs1Zp4PP6iBWSmZ4SCQ/s%3D' (2025-05-02)
• Updated input 'home-manager':
'github:nix-community/home-manager/5f217e5a319f6c186283b530f8c975e66c028433?narHash=sha256-osgPX/SzIpkR50vev/rqoTEAVkEcOWXoQXmbzsaI4KU%3D' (2025-04-30)
→ 'github:nix-community/home-manager/f045bd46b73c3b0ed4e46cdb6036b3d5823d7dee?narHash=sha256-hmHKl4meWr6ryzqQAwRD3%2B3Ihfb/Y/0CbK%2BWnE%2Boa6Q%3D' (2025-05-02)
2025-05-03 02:24:55 +10:00
github-actions[bot]
da3e7374a9
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3afd19146cac33ed242fc0fc87481c67c758a59e?narHash=sha256-OxYwCGJf9VJ2KnUO%2Bw/hVJVTjOgscdDg/lPv8Eus07Y%3D' (2025-05-01)
→ 'github:NixOS/nixpkgs/032bc6539bd5f14e9d0c51bd79cfe9a055b094c3?narHash=sha256-zBuvmL6%2BCUsk2J8GINpyy8Hs1Zp4PP6iBWSmZ4SCQ/s%3D' (2025-05-02)
2025-05-03 02:24:55 +10:00
Gaetan Lepage
98644a34ab
plugins/origami: init
2025-05-02 13:52:22 +02:00
Gaetan Lepage
cd30817b21
plugins/tiny-inline-diagnostic: init
2025-05-02 01:48:26 +02:00
LudovicDeMatteis
0ec7ea3d62
user-configs: add @LudovicDeMatteis's config
...
user-configs: add @LudovicDeMatteis's config
2025-05-02 00:30:49 +02:00
github-actions[bot]
c91753bbe5
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/423d2df5b04b4ee7688c3d71396e872afa236a89?narHash=sha256-vonyYAKJSlsX4n9GCsS0pHxR6yCrfqBIuGvANlkwG6U%3D' (2025-04-30)
→ 'github:NixOS/nixpkgs/3afd19146cac33ed242fc0fc87481c67c758a59e?narHash=sha256-OxYwCGJf9VJ2KnUO%2Bw/hVJVTjOgscdDg/lPv8Eus07Y%3D' (2025-05-01)
• Updated input 'home-manager':
'github:nix-community/home-manager/d2b3e6c83d457aa0e7f9344c61c3fed32bad0f7e?narHash=sha256-8Up4QPuMZEJBU0eefAY%2BnUe7DYKQQzvaHnMpNdwRgKA%3D' (2025-04-30)
→ 'github:nix-community/home-manager/5f217e5a319f6c186283b530f8c975e66c028433?narHash=sha256-osgPX/SzIpkR50vev/rqoTEAVkEcOWXoQXmbzsaI4KU%3D' (2025-04-30)
2025-05-01 12:15:23 +00:00
github-actions[bot]
6ae7753cfd
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/423d2df5b04b4ee7688c3d71396e872afa236a89?narHash=sha256-vonyYAKJSlsX4n9GCsS0pHxR6yCrfqBIuGvANlkwG6U%3D' (2025-04-30)
→ 'github:NixOS/nixpkgs/3afd19146cac33ed242fc0fc87481c67c758a59e?narHash=sha256-OxYwCGJf9VJ2KnUO%2Bw/hVJVTjOgscdDg/lPv8Eus07Y%3D' (2025-05-01)
2025-05-01 12:15:18 +00:00
Matt Sturgeon
a072e3c3a7
modules/lsp: enable servers."*"
by default
2025-05-01 00:36:41 +01:00
Matt Sturgeon
b6e2016b7f
modules/lsp: check if server settings
is empty
...
Avoid unnecessary lua lines by checking if `server.settings` is empty
before writing `vim.lsp.config()` to `init.lua`.
2025-05-01 00:36:16 +01:00
Matt Sturgeon
f2e96b67a3
modules/lsp: declare a stripped down servers."*"
option
...
`"*"` is effectively a meta server, where shared config/defaults can be
set.
It shouldn't have options like `activate` or `package` which relate to
"real" servers. Therefore, we'll use `server-base.nix` directly, instead
of the full `server.nix` module.
2025-05-01 00:12:39 +01:00
Matt Sturgeon
04c3247144
docs: ensure path is escaped when copying module docs
...
Without escaping the path here, filepaths for options named things like
`*` will result in undefined behaviour.
2025-05-01 00:12:39 +01:00
Gaetan Lepage
6297f4c01a
plugins/vimade: init
2025-05-01 00:40:14 +02:00
Gaetan Lepage
913a3521ab
plugins/ident-tools: init
2025-04-30 22:49:38 +02:00
Johan Larsson
eeae362038
modules/lsp: add enable = true
to wildcard config section
2025-04-30 20:55:26 +01:00
Johan Larsson
2d65c66a1a
modules/lsp: don't enable wildcard server
...
The wildcard server ("*") should have its config set, but not be enabled
through `vim.lsp.enable()`.
2025-04-30 20:55:26 +01:00
Matt Sturgeon
1df98b6636
modules/diagnostic: rename diagnostic.config
-> diagnostic.settings
...
Follow up to #3226 , in line with the decisions made in #3254 .
2025-04-30 18:31:17 +01:00
Gaetan Lepage
405a564f3d
plugins/actions-preview: init
2025-04-30 19:14:35 +02:00
Matt Sturgeon
21688b1d2a
modules/lsp/server: rename config
-> settings
...
`config` is a loaded term within modules and options.
`settings` is the name usually used for freeform config in nixvim and
most other module configurations.
2025-04-30 17:35:46 +01:00
github-actions[bot]
fc6f00a7fd
flake/dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'dev-nixpkgs':
'github:NixOS/nixpkgs/fbc071e5c11e23fba50037de37268e3d8a1858eb?narHash=sha256-odZyAgjybOV1ha/lEoVL5HVOJw1YqFDfem9u3t%2BVB2o%3D' (2025-04-29)
→ 'github:NixOS/nixpkgs/423d2df5b04b4ee7688c3d71396e872afa236a89?narHash=sha256-vonyYAKJSlsX4n9GCsS0pHxR6yCrfqBIuGvANlkwG6U%3D' (2025-04-30)
2025-05-01 02:14:02 +10:00
github-actions[bot]
edc9a469c9
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/fbc071e5c11e23fba50037de37268e3d8a1858eb?narHash=sha256-odZyAgjybOV1ha/lEoVL5HVOJw1YqFDfem9u3t%2BVB2o%3D' (2025-04-29)
→ 'github:NixOS/nixpkgs/423d2df5b04b4ee7688c3d71396e872afa236a89?narHash=sha256-vonyYAKJSlsX4n9GCsS0pHxR6yCrfqBIuGvANlkwG6U%3D' (2025-04-30)
2025-05-01 02:14:02 +10:00
Matt Sturgeon
e34eaf8395
modules/lsp/server: declare package
defaults
...
Convert the `attrsOf (servers.nix)` option to a freeform submodule.
Declare a `servers.nix` option for each lsp server listed in
`lsp-packages.nix` that has a known nixpkgs package.
2025-04-30 16:53:55 +01:00
Gaetan Lepage
276abde288
plugins/peek: init
2025-04-30 16:27:29 +02:00