neovim: switch to cord.nvim
All checks were successful
ci/woodpecker/cron/flake-lock-update Pipeline was successful
All checks were successful
ci/woodpecker/cron/flake-lock-update Pipeline was successful
This commit is contained in:
parent
95cd793a00
commit
edf73c442b
1 changed files with 28 additions and 7 deletions
|
@ -1,9 +1,30 @@
|
||||||
_: {
|
{pkgs, ...}: {
|
||||||
programs.nixvim.plugins.neocord = {
|
programs.nixvim = {
|
||||||
enable = true;
|
extraPlugins = with pkgs.vimPlugins; [
|
||||||
settings = {
|
cord-nvim
|
||||||
auto_update = true;
|
];
|
||||||
enable_line_number = true;
|
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',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue