34 lines
612 B
Nix
34 lines
612 B
Nix
{pkgs, ...}: {
|
|
opts = {
|
|
number = true;
|
|
relativenumber = false;
|
|
colorcolumn = "0";
|
|
shiftwidth = 2;
|
|
tabstop = 2;
|
|
wrap = false;
|
|
swapfile = false; # undotree
|
|
backup = false; # undotree
|
|
undofile = true;
|
|
hlsearch = false;
|
|
incsearch = true;
|
|
termguicolors = true;
|
|
scrolloff = 8;
|
|
signcolumn = "no";
|
|
updatetime = 50;
|
|
foldlevelstart = 99;
|
|
};
|
|
|
|
clipboard = {
|
|
register = "unnamedplus";
|
|
};
|
|
|
|
globals.mapleader = " ";
|
|
|
|
extraPackages = with pkgs; [
|
|
stylua
|
|
nixfmt-rfc-style
|
|
vlang
|
|
];
|
|
|
|
extraConfigLua = builtins.readFile ./config.lua;
|
|
}
|