2024-01-21 21:01:42 +08:00
|
|
|
{ pkgs, ... }:
|
2023-05-15 21:11:30 +08:00
|
|
|
|
|
|
|
{
|
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
2023-10-31 05:41:03 +08:00
|
|
|
#package = pkgs.neovim-nightly;
|
2023-10-10 19:04:12 +08:00
|
|
|
defaultEditor = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
# Required for nvim-treesitter
|
|
|
|
gcc
|
|
|
|
# Required for telescope.nvim
|
|
|
|
fd
|
|
|
|
ripgrep
|
2024-01-21 21:01:42 +08:00
|
|
|
# Required for markdown-preview.nvim
|
|
|
|
nodejs
|
|
|
|
yarn
|
2023-10-10 19:04:12 +08:00
|
|
|
# Language server packages
|
|
|
|
nil
|
|
|
|
haskell-language-server
|
|
|
|
lua-language-server
|
2024-02-05 11:15:58 +08:00
|
|
|
clang-tools
|
2024-06-14 08:40:57 +08:00
|
|
|
yaml-language-server
|
2023-05-15 21:11:30 +08:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-01-21 21:01:42 +08:00
|
|
|
home.persistence."/persist/home/sajenim".directories = [ ".local/share/nvim" ];
|
|
|
|
|
2023-05-15 21:11:30 +08:00
|
|
|
xdg.configFile.nvim = { source = ./config; recursive = true; };
|
|
|
|
}
|