neovim: nix-slice LSP + completion + wl-copy fix (#19) #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-19-nixvim-nix-slice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First testable slice from #19 — nix-focused, everything verified against the nixvim rev pinned in flake.lock (84e901ee).
Included
plugins.lsp+lsp.inlayHints, on-attach keymaps (gd/gr/gi/gt/K/<leader>rn/<leader>ca/<leader>cf/<leader>ds,[d/]d/<leader>kdiagnostics), silentnixd(completion, goto-def, hover, rename, formatting via nixpkgs-fmt) +statixantipattern linter. Flake-relative option-docs completion left as a commented follow-up inplugins/lsp.nixnvim-cmp(nvim_lsp/luasnip/path/buffer sources, preset insert mappings) +luasnip+friendly-snippets+lspkindiconsclipboard.providers.wl-copy.enableonly putswl-copy/wl-pasteon nvim PATH — nvim never had a clipboard register, soy/pstayed on the internal register. The old AstroNvim config setclipboard=unnamedplusimplicitly. Addedclipboard.register = "unnamedplus".Not in this slice (deferred per issue)
which-key, gitsigns, nvim-ufo, oil, direnv + nix-develop — follow-up PR.
⚠️ Not build-verified (no nix available where this was drafted); option names cross-checked against the locked nixvim module sources.
nix flake check/ rebuild on your machine is the test.This appears to come from this generated code:
I don't see anything wrong with those binds though. I'm guessing one of the actions is wrong?
commenting out this bit in lsp.nix fixed it, so it's that one specific keybind. Perhaps it doesn't exist?
And I just used copy paste for that, so that's confirmed to work.
Completions also confirmed to work. I'll drive this for the day and see how it goes. Fix that one line above and I'll merge it.