aboutsummaryrefslogtreecommitdiff
path: root/nvim.nix
blob: f665e466071270314bca0e7d4f3b4a3c1d652061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ config, pkgs, ... }:
let unstable = import <nixos-unstable> { config.allowUnfree = true; };
in {
  environment.systemPackages = with pkgs; [
    unstable.neovim

    ripgrep
    gcc
    cargo
    python311
    nodejs_20
    unzip
    lua
    lua53Packages.luarocks
    lua53Packages.luafilesystem
    xsel
    tree-sitter

    lua-language-server
    vscode-langservers-extracted
    rust-analyzer
    zls
    typescript-language-server
    javascript-typescript-langserver
    (pkgs.python3.withPackages (ps: with ps; [
      python-lsp-server
      python-lsp-jsonrpc
      python-lsp-black
      python-lsp-ruff
      pyls-isort
      pyls-flake8
      ruff
      black
      isort
    ]))
  ];
}