-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.nix
66 lines (56 loc) · 1.21 KB
/
options.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{ pkgs, config, ... }:
{
config.localOpts = {
wrap = false;
};
config.globalOpts = {
signcolumn = "3-9";
};
config.files = {
"ftplugin/yml.lua" = {
opts = {
expandtab = true;
shiftwidth = 2;
tabstop = 2;
# foldmethod = "indent";
commentstring = "#%s";
};
};
"ftplugin/nix.lua" = {
opts = {
expandtab = true;
shiftwidth = 2;
tabstop = 2;
foldmethod = "indent";
commentstring = "#%s";
};
};
};
config.opts = {
modelineexpr = true;
sessionoptions = "curdir,folds,globals,help,tabpages,terminal,winsize";
number = true;
tabstop = 4;
softtabstop = 4;
shiftwidth = 4;
expandtab = true;
foldmethod = "indent";
smarttab = true;
autoindent = true;
smartindent = true;
showmode = false;
wrap = false;
swapfile = false;
backup = false;
undodir = "/tmp/nixvim/undodir";
undofile = true;
scrolloff = 2;
signcolumn = "yes";
foldenable = false;
listchars = "space:⋅,trail:•,tab:˖ ,nbsp:⦸,extends:»,precedes:«,eol:↵";
updatetime = 50;
colorcolumn = "0";
timeout = false;
winbar = "%f";
};
}