configuration.nix/home/laptop/programs/neovim/nix.nix
Ivan Dimitrov f5e1e3cb5b Squashed commit of the following:
commit eb451fe1a7324b35621921cd232480d0fbbec34b
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 15:40:15 2023 +0300

    nvim bash

commit fe31d8e972e5729715f2f9a70e8226f35759dc9a
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 15:35:16 2023 +0300

    nvim nix

commit af96dff98e80c54eabff9d219119950993878e27
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 15:25:03 2023 +0300

    some js cleanup

commit ffee7d74c9c7c06f879afa8542c4f55492566bb7
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 15:20:41 2023 +0300

    nvim lua

commit 9607813c11893b96070cb056d03eda6b821f9282
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 15:11:20 2023 +0300

    server capabilities check for doc highlight

commit d889f14fb93c35f4d5a4d9e9430a5770d080ef96
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 14:29:47 2023 +0300

    adding servers

commit e91f8f81b6c2ccc35926cac13e71da1a8997b98a
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 13:42:26 2023 +0300

    lists

commit 9239ed57fe73dcde7c11547d211ebec1e8d3078f
Author: Ivan Dimitrov <ivan@idimitrov.dev>
Date:   Thu Oct 5 13:39:10 2023 +0300

    neovim split
2023-10-05 15:48:01 +03:00

22 lines
335 B
Nix

{ pkgs, lib, ... }:
let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
nix
];
in
{
programs.neovim = {
extraPackages = with pkgs; [
rnix-lsp
alejandra
];
plugins = with pkgs.vimPlugins; grammars ++ [
];
extraLuaConfig = ''
addServers({
rnix = {}
})
'';
};
}