updates
This commit is contained in:
parent
f289c537d8
commit
ddb92ea0c5
12 changed files with 918 additions and 643 deletions
|
|
@ -1,6 +1,28 @@
|
|||
_: {
|
||||
programs.nixvim.diagnostics = {
|
||||
# virtual_lines.enable = false;
|
||||
# # virtual_lines = {
|
||||
# # current_line = true;
|
||||
# # format = ''
|
||||
# # function(d)
|
||||
# # if d.severity == vim.diagnostic.severity.ERROR then
|
||||
# # return d
|
||||
# # else
|
||||
# # return ""
|
||||
# # end
|
||||
# # end
|
||||
# # '';
|
||||
# # };
|
||||
# virtual_text = false;
|
||||
update_in_insert = false; # annoying with virtual_lines which keep updating
|
||||
severity_sort = true;
|
||||
float = {
|
||||
border = "rounded";
|
||||
};
|
||||
};
|
||||
|
||||
programs.nixvim.opts = {
|
||||
lazyredraw = true;
|
||||
# lazyredraw = true;
|
||||
startofline = true;
|
||||
showmatch = true;
|
||||
|
||||
|
|
@ -26,6 +48,10 @@ _: {
|
|||
];
|
||||
|
||||
list = true;
|
||||
|
||||
swapfile = false;
|
||||
backup = false;
|
||||
autoread = true;
|
||||
undofile = true;
|
||||
undodir = "/home/jana/.vimdid";
|
||||
|
||||
|
|
@ -36,7 +62,7 @@ _: {
|
|||
|
||||
# relative line numbers except the current line
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
# relativenumber = true;
|
||||
|
||||
# show (usually) hidden characters
|
||||
listchars = {
|
||||
|
|
@ -52,5 +78,11 @@ _: {
|
|||
|
||||
# clipboard == system clipboard
|
||||
clipboard = "unnamedplus";
|
||||
|
||||
completeopt = [
|
||||
"menuone"
|
||||
"noselect"
|
||||
"noinsert"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue