Files
dotfiles/modules/home/nixvim/default.nix
T
moons-14andClaude Sonnet 4.6 dfc1461951 nixvim: improve keymaps, completion, and formatter config
- Add LSP code actions, diagnostic navigation, window navigation keymaps
- Move telescope keymaps to explicit mkRaw form for reliability
- Change buffer nav from <leader>bh/bl to [b/]b
- Fix conform double-setup by moving config to native nixvim settings
- Fix <leader>cf to use conform instead of vim.lsp.buf.format
- Fix <leader>ca to pass diagnostic context to code_action
- Add nvim-lightbulb for code action indicator
- Configure copilot Tab conflict: blink-cmp Tab=accept, C-n/p for cycling
- Add completion.list.selection preselect for immediate Tab acceptance
- Add TypeScript Japanese locale for LSP diagnostics

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-11 16:01:17 +09:00

45 lines
640 B
Nix

{
pkgs,
inputs,
...
}: {
imports = [
inputs.nixvim.homeModules.nixvim
./options.nix
./keymaps.nix
./language.nix
./colorscheme.nix
./lsp.nix
./plugins
];
programs.nixvim = {
enable = true;
vimAlias = true;
viAlias = true;
withNodeJs = true;
extraPackages = with pkgs; [
git
ripgrep
fd
nodejs
zellij
# LSP / formatter / misc
vtsls
vscode-langservers-extracted
tailwindcss-language-server
prettierd
prettier
biome
stylua
shfmt
alejandra
lua-language-server
nixd
];
};
}