1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-18 15:01:13 +01:00
Commit graph

2201 commits

Author SHA1 Message Date
Gaetan Lepage
9cb77f6ce4 plugins/conform-nvim/formatter-packages: mark oxfmt as unpackaged 2025-12-17 21:23:05 +00:00
Austin Horstman
51bbde565a plugins/lualine: drop deprecated vim.lsp.get_active_clients
Use vim.lsp.get_clients({ bufnr = 0 }).
2025-12-17 08:44:16 +00:00
Austin Horstman
908921b771 plugins/lualine: drop deprecated nvim_buf_get_option
Use vim.bo[0].filetype instead of vim.api.nvim_buf_get_option().
2025-12-17 08:44:16 +00:00
Austin Horstman
36ce7aacbe plugins/noice: note deprecated LSP override keys
Some override targets (e.g. vim.lsp.util.stylize_markdown) are
deprecated in Neovim.
2025-12-17 08:44:16 +00:00
Austin Horstman
417f28297b docs: drop deprecated vim.lsp.start_client refs
Point documentation to :h vim.lsp.start().
2025-12-17 08:44:16 +00:00
Austin Horstman
ebacf86f2b plugins/gitsigns: drop deprecated nvim_buf_set_keymap
Use vim.keymap.set({ buffer = bufnr }) instead.
2025-12-17 08:44:16 +00:00
Austin Horstman
a1cda59a3a treewide: vim.loop -> vim.uv
vim.loop is deprecated and vim.uv is preferred https://neovim.io/doc/user/deprecated.html#vim.loop
2025-12-17 08:44:16 +00:00
Matt Sturgeon
882eb84c35 plugins/lsp: drop customCmd
These have all been upstreamed into nvim-lspconfig. Going forward, we
should continue that trend.

If any nix-specific `cmd`s aren't accepted in nvim-lspconfig, they can
be patched in Nixpkgs instead.
2025-12-16 14:09:46 +00:00
Gaetan Lepage
d524dbd333 plugins/gitgutter: drop grep
0acb772e76
2025-12-15 10:11:38 +00:00
Gaetan Lepage
e67b4d5896 dependencies: drop grepPackage in favor of dependencies.grep 2025-12-15 08:22:50 +00:00
Gaetan Lepage
7e3277a71b plugins/gitgutter: drop settingsOptions 2025-12-15 08:22:50 +00:00
Gaetan Lepage
4aaa440f58 plugins/gitgutter: remove dead file 2025-12-15 08:22:50 +00:00
Matt Sturgeon
c97e8e3425 modules/lsp: move packages.nix from plugins.lsp
Move plugins/lsp/lsp-packages.nix -> modules/lsp/servers/packages.nix
2025-12-13 17:19:54 +00:00
Gaetan Lepage
74136352cf plugins/cord: update settingsExample 2025-12-13 16:22:08 +00:00
Zexin Yuan
297e2e0b65 docs: format nix examples in options 2025-12-13 08:51:26 +00:00
Austin Horstman
993a8b4eb0 plugins/treesitter: simplify nested expressions
Looks like we can actually nest this inside the parenthesized_expression
to simplify a small amount.
2025-12-12 22:09:09 +00:00
Austin Horstman
d5b2ba8f2a plugins/dap: allow lua for adapters
Support `mkRaw` for adapter definitions to support more flexible
configuration.
2025-12-12 21:45:41 +00:00
Austin Horstman
a80557e142 plugins/treesitter: support let expressions with injections 2025-12-12 14:23:21 +00:00
Gaetan Lepage
a2bd97de05 plugins/lsp/lsp-packages: drop redundant cmd values 2025-12-12 09:26:10 +00:00
Gaetan Lepage
575e241fa2 plugins/efmls-configs: inline efm language settings (cosmetic) 2025-12-12 09:16:55 +00:00
Gaetan Lepage
4cf2afde78 plugins/efmls-configs: rename setup to languages 2025-12-12 09:16:55 +00:00
Alison Jenkins
dfc71c3d48 plugins/sidekick/assertion: no copilot when nes disabled
When the Sidekick plugin has Next Edit Suggestions disabled we should
not enforce the dependency on Copilot.

See:

https://github.com/folke/sidekick.nvim?tab=readme-ov-file#can-i-use-this-without-nes-just-for-cli-tools
2025-12-11 19:27:51 +00:00
fwastring
1665448e75 plugins/substitute: init
plugins/substitute: removed options and used nested

plugins/substitute: changed example

plugins/substitute: remove __raw

plugins/substitute: Fixed failing test

plugins/substitute: removedplugins/substitute: init

removed
2025-12-11 09:29:13 +00:00
Heitor Augusto
264ff4c5e6 plugins/tv: init 2025-12-11 09:29:09 +00:00
Heitor Augusto
f61667b37e plugins/mini-cmdline: init 2025-12-11 00:33:09 +00:00
Gaetan Lepage
480d35cc76 plugins/lsp/lsp-packages: update 2025-12-10 21:13:52 +00:00
Austin Horstman
ba8f6d40b1 plugins/treesitter: rewrite injections to handle nested
We now look for strings inside any function call (apply_expression)
provided the root attribute matches our allow-list (e.g.,
extraConfigLua). Added 3 level nesting support to handle multiple layers of
wrapping.

Tried breaking them up into sections with some more comments to align
with our test file.
2025-12-09 14:37:55 +00:00
Austin Horstman
e6872cd5d4 plugins/treesitter: add treesitter injections test file
Not a true automated test file, just good for a visual smoke test.
2025-12-09 14:37:55 +00:00
Austin Horstman
3e6e23a719 plugins/treesitter: match -> any-of pattern
No real performance gain but might be easier to maintain / understand.
2025-12-09 14:37:55 +00:00
Austin Horstman
507d48c3ae plugins/treesitter: update injections to handle functions
Handle highlighting strings that occur after a function condition.
2025-12-09 14:37:55 +00:00
Alejandro Pinar Ruiz
05c57f2e74 fix: add missing lib 2025-12-08 16:18:17 +00:00
Gaetan Lepage
8441008175 treewide: remove old deprecation warnings 2025-12-07 23:34:03 +00:00
Gaetan Lepage
629f9d75f8 treewide: remove with lib; 2025-12-07 22:46:34 +00:00
Gaetan Lepage
8e85c25143 plugins/lsp/lsp-packages: add package for tclsp 2025-12-04 23:55:02 +00:00
Gaetan Lepage
f15023fccc plugins/conform-nvim/formatter-packages: add package for tclfmt 2025-12-04 23:55:02 +00:00
saygo-png
ee32f43f54 treewide: fix typos
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-04 23:22:21 +00:00
saygo-png
03a51dbf3d treewide: NixVim/nixvim -> Nixvim
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-04 23:22:21 +00:00
Austin Horstman
5d1c27e53c plugins/codesnap: remove settingsOption
Blocking configuration from v2 of plugin.
2025-12-03 23:16:39 +00:00
Gaetan Lepage
8d0d66cdd3 plugins/conform-nvim/formatter-packages: add package for mh_style 2025-12-03 09:30:43 +00:00
Gaetan Lepage
b52b1fb4a4 plugins/blink-cmp-words: init 2025-12-03 00:08:57 +00:00
saygo-png
2d8db68a8f plugins/haskell-tools: add hlsPackageFallback option
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-02 08:23:07 +00:00
saygo-png
ee6ccaae42 plugins/friendly-snippets: fix warning
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-01 17:58:26 +00:00
Matt Sturgeon
b831550ec8 plugins/efmls-configs: avoid reading HTML & JSON aliases
f0764db721 added rename aliases for the
HTML and JSON options, which print a trace when evaluated:

    trace: Obsolete option `HTML' is used. It was renamed to `html'.
    trace: Obsolete option `JSON' is used. It was renamed to `json'.

These were correctly removed when introspecting enabled tools, however
they were not removed when constructing the "setup options" to serialise
as a lua table.
2025-11-29 18:39:43 +00:00
saygo-png
9d6a7608df plugins/conform: fix eval error
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-29 12:13:12 +00:00
saygo-png
96d3538c32 plugins/conform: refactor the autoInstall option implementation
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-29 03:08:28 +00:00
Gaetan Lepage
1cca516a54 plugins/lsp/lsp-packages: update 2025-11-28 22:56:25 +00:00
Gaetan Lepage
e39c85a2a5 plugins/conform-nvim: update formatter-packages 2025-11-28 22:56:25 +00:00
Austin Horstman
7fe6951bf8 plugins/dap-view: require dap to be enabled
Add assertion requiring `plugins.dap` to be enabled when using
`plugins.dap-view`.
2025-11-26 09:12:28 +00:00
Austin Horstman
266556b918 plugins/dap-virtual-text: require dap to be enabled
Add assertion requiring `plugins.dap` to be enabled when using
`plugins.dap-virtual-text`.
2025-11-26 09:12:28 +00:00
Austin Horstman
47020dca77 plugins/dap-lldb: require dap to be enabled
Add assertion requiring `plugins.dap` to be enabled when using
`plugins.dap-lldb`.
2025-11-26 09:12:28 +00:00