44 lines
825 B
Nix
44 lines
825 B
Nix
{
|
|
globalOpts = {
|
|
number = true;
|
|
relativenumber = false;
|
|
signcolumn = "yes";
|
|
ignorecase = true;
|
|
smartcase = true;
|
|
tabstop = 4;
|
|
shiftwidth = 4;
|
|
softtabstop = 0;
|
|
expandtab = true;
|
|
smarttab = true;
|
|
clipboard = "unnamedplus";
|
|
cursorline = true;
|
|
ruler = true;
|
|
gdefault = true;
|
|
scrolloff = 5;
|
|
};
|
|
|
|
opts = {
|
|
foldenable = true;
|
|
foldmethod = "expr";
|
|
foldexpr = "v:lua.vim.treesitter.foldexpr()";
|
|
foldtext = "";
|
|
foldlevel = 99;
|
|
foldlevelstart = 99;
|
|
foldcolumn = "0";
|
|
};
|
|
|
|
userCommands = {
|
|
Q.command = "q";
|
|
Q.bang = true;
|
|
Wq.command = "q";
|
|
Wq.bang = true;
|
|
WQ.command = "q";
|
|
WQ.bang = true;
|
|
W.command = "q";
|
|
W.bang = true;
|
|
};
|
|
|
|
globals.mapleader = " ";
|
|
|
|
extraConfigLua = builtins.readFile ./config.lua;
|
|
}
|