feat(nvim): use rounded borders for input

This commit is contained in:
Moritz Böhme 2025-07-31 16:19:36 +02:00
parent f0ac85d6fa
commit eb1500e11a
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 127 additions and 89 deletions

View file

@ -25,6 +25,7 @@ vim.opt.updatetime = 300
vim.opt.foldlevel = 99
vim.opt_local.spell = true
vim.opt_local.spelllang = { "en", "de_20" } -- all English regions and new German spelling
vim.opt.winborder = "rounded"
-- Abbreviations for common typos
vim.cmd("cnoreabbrev W! w!")

View file

@ -1,5 +1,22 @@
_: {
{pkgs, inputs, ... }: {
# HACK: to fix window borders
nixpkgs.overlays = [
(final: prev: {
vimPlugins = prev.vimPlugins // {
plenary-nvim = prev.vimPlugins.plenary-nvim.overrideAttrs (old:{
src = inputs.plenary-nvim;
version = "unstable";
});
};
})
];
home-manager.users.moritz.programs.nixvim = {
# HACK: also
extraPlugins = with pkgs.vimPlugins; [
plenary-nvim
];
autoCmd = [
{
event = ["VimEnter"];
@ -12,6 +29,7 @@ _: {
'';
}
];
plugins = {
telescope = {
enable = true;