feat(nvim): use rounded borders for input
This commit is contained in:
parent
f0ac85d6fa
commit
eb1500e11a
4 changed files with 127 additions and 89 deletions
|
|
@ -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!")
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue