big changes on neovim

This commit is contained in:
afoucaultc 2026-07-07 10:37:27 +02:00
parent cddb6edde7
commit 6d492f07ba
26 changed files with 242 additions and 291 deletions

View file

@ -3,14 +3,39 @@
home.packages = with pkgs; [
neovim-unwrapped
# outils dont lazy.nvim / les LSP ont besoin
ripgrep fd gcc gnumake nodejs unzip
lua-language-server stylua nil
(python3.withPackages (ps: with ps; [ pynvim ]))
ripgrep
fd
gcc
gnumake
nodejs
unzip
# formatters généraux
lua-language-server
stylua
nil
nixfmt-rfc-style # binaire "nixfmt" pour conform
# LSP serveurs (remplacent Mason)
marksman
pyright
# LSP que tu avais dans Mason — décommente selon besoin
clang-tools # clangd
bash-language-server # bashls
vscode-langservers-extracted # cssls, jsonls, html, eslint
typescript-language-server # ts_ls
vim-language-server # vimls
jdt-language-server # jdtls (Java)
# formatters / linters shell + python
shellcheck
shfmt
black
isort
# vimtex forward search + treesitter CLI
xdotool
tree-sitter
(python3.withPackages (ps: with ps; [ pynvim debugpy ]))
];
home.sessionVariables.EDITOR = "nvim";
home.shellAliases = { vi = "nvim"; vim = "nvim"; };
# ~/.config/nvim -> tes dotfiles, éditables en place
xdg.configFile."nvim".source =
config.lib.file.mkOutOfStoreSymlink