feat(home:git): add gh tool

This commit is contained in:
ooks-io 2024-07-01 21:28:47 +12:00
parent 33e7a6f7f9
commit e743691d94
12 changed files with 225 additions and 47 deletions

View file

@ -0,0 +1,38 @@
{ config, lib, ... }:
let
inherit (lib) mkIf;
cfg = config.ooknet.editor.nvim;
console = config.ooknet.console;
in
{
config = mkIf (cfg.enable || console.editor == "nvim") {
programs.nixvim.plugins = {
lsp-lines.enable = true;
lsp = {
enable = true;
capabilities = "offsetEncoding = 'utf-16'";
servers = {
# nix
nil-ls = {
enable = true;
};
# markdown
marksman = {
enable = true;
};
# css
cssls = {
enable = true;
};
# c/c++
clangd = {
enable = true;
};
};
};
};
};
}