snowflake/home/programs/editors/neovim/plugins/misc/presence.nix

31 lines
610 B
Nix
Raw Normal View History

2024-11-01 12:19:54 -04:00
{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',
},
},
}
'';
2024-10-28 19:30:48 -04:00
};
}