snowflake/home/programs/editors/neovim/plugins/misc/presence.nix
notohh edf73c442b
All checks were successful
ci/woodpecker/cron/flake-lock-update Pipeline was successful
neovim: switch to cord.nvim
2024-11-01 12:19:54 -04:00

30 lines
610 B
Nix

{pkgs, ...}: {
programs.nixvim = {
extraPlugins = with pkgs.vimPlugins; [
cord-nvim
];
extraConfigLua = ''
require('cord').setup {
editor = {
tooltip = 'Neovim'
},
display = {
show_time = true,
show_repository = true,
show_cursor_position = true,
},
lsp = {
show_problem_count = true,
severity = 1,
scope = 'workspace',
},
buttons = {
{
label = 'View Repository',
url = 'git',
},
},
}
'';
};
}