2024-11-01 12:19:54 -04:00
|
|
|
{pkgs, ...}: {
|
|
|
|
programs.nixvim = {
|
|
|
|
extraPlugins = with pkgs.vimPlugins; [
|
|
|
|
cord-nvim
|
|
|
|
];
|
|
|
|
extraConfigLua = ''
|
|
|
|
require('cord').setup {
|
2024-12-11 15:54:43 -05:00
|
|
|
timer = {
|
|
|
|
interval = 500,
|
|
|
|
},
|
2024-11-01 12:19:54 -04:00
|
|
|
editor = {
|
2024-12-11 15:54:43 -05:00
|
|
|
tooltip = 'Neovim',
|
2024-11-01 12:19:54 -04:00
|
|
|
},
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|