nix: refactor neovim presets into modules

This commit is contained in:
Primrose 2024-11-14 19:06:47 +01:00
parent e1c2e28442
commit ce85adc9f6
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 32 additions and 34 deletions

View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
programs.neovim.extraPackages = [
# lua
pkgs.lua-language-server
pkgs.stylua
pkgs.nil # nix
pkgs.yaml-language-server # yaml
pkgs.nodePackages.pyright # python
pkgs.marksman # markdown
pkgs.taplo # toml
pkgs.lemminx # xml
# pkgs.texlab # latex
];
}