This commit is contained in:
Varris 2023-03-25 06:40:02 +01:00
parent 01c23e192f
commit 2de7c338ec
2 changed files with 38 additions and 8 deletions

View File

@ -637,14 +637,17 @@
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
"lastModified": 1679719332,
"narHash": "sha256-KKuUnuOMsPr8C/cXez2DxZQFvp9nU+7yMRmZEx3P8Us=",
"path": "/home/manuel/Repos/nixvim",
"type": "path"
"lastModified": 1679695447,
"narHash": "sha256-Reqsn/TL0aznSV9vGl4rqYk2V+CYXSIEBrTWyM3F1Ew=",
"owner": "pta2002",
"repo": "nixvim",
"rev": "a0498fc4c4ed263c2728a912e52f0a2d89271163",
"type": "github"
},
"original": {
"path": "/home/manuel/Repos/nixvim",
"type": "path"
"owner": "pta2002",
"repo": "nixvim",
"type": "github"
}
},
"openmw": {

View File

@ -1,4 +1,7 @@
{ config, pkgs, lib, inputs, ... }:
let
colors = config.colorScheme.colors;
in
{
imports = [
inputs.nixvim.homeManagerModules.nixvim
@ -8,7 +11,7 @@
enable = true;
globals = {
mapleader = ",";
mapleader = " "; #Space key
};
colorschemes.gruvbox = {
@ -53,7 +56,18 @@
comment-nvim.enable = true;
fugitive.enable = true;
lsp.enable = true;
lsp = {
enable = true;
keymaps.lspBuf = {
K = "hover";
gD = "references";
gd = "definition";
gi = "implementation";
gt = "type_definition";
};
};
nvim-autopairs.enable = true;
lspkind = {
@ -128,6 +142,19 @@
enable = true;
indent = true;
};
bufferline = {
enable = true;
separatorStyle = "slant";
numbers = "buffer_id";
highlights = {
fill = {
guibg = "#3C3836";
};
};
};
};
maps = {