treewide: format all files (#57)
Run `nix fmt` at the root of the repository to format all files. I've done this on my fork and this will help me merge your changes later without having to deal with un-formatted files.
This commit is contained in:
parent
70f8b2360f
commit
0f42b0eebb
21 changed files with 369 additions and 164 deletions
|
|
@ -2,7 +2,10 @@
|
|||
plugins.nvim-autopairs = {
|
||||
enable = true;
|
||||
settings = {
|
||||
disable_filetype = ["TelescopePrompt" "vim"];
|
||||
disable_filetype = [
|
||||
"TelescopePrompt"
|
||||
"vim"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,12 @@
|
|||
};
|
||||
plugins.copilot-lua = {
|
||||
enable = true;
|
||||
suggestion = {enabled = false;};
|
||||
panel = {enabled = false;};
|
||||
suggestion = {
|
||||
enabled = false;
|
||||
};
|
||||
panel = {
|
||||
enabled = false;
|
||||
};
|
||||
};
|
||||
|
||||
extraConfigLua = ''
|
||||
|
|
|
|||
|
|
@ -1,28 +1,40 @@
|
|||
{
|
||||
plugins = {
|
||||
cmp-emoji = {enable = true;};
|
||||
cmp-emoji = {
|
||||
enable = true;
|
||||
};
|
||||
cmp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
autoEnableSources = true;
|
||||
experimental = {ghost_text = false;};
|
||||
experimental = {
|
||||
ghost_text = false;
|
||||
};
|
||||
performance = {
|
||||
debounce = 60;
|
||||
fetchingTimeout = 200;
|
||||
maxViewEntries = 30;
|
||||
};
|
||||
snippet = {expand = "luasnip";};
|
||||
formatting = {fields = ["kind" "abbr" "menu"];};
|
||||
snippet = {
|
||||
expand = "luasnip";
|
||||
};
|
||||
formatting = {
|
||||
fields = [
|
||||
"kind"
|
||||
"abbr"
|
||||
"menu"
|
||||
];
|
||||
};
|
||||
sources = [
|
||||
{name = "git";}
|
||||
{name = "nvim_lsp";}
|
||||
{name = "emoji";}
|
||||
{ name = "git"; }
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "emoji"; }
|
||||
{
|
||||
name = "buffer"; # text within current buffer
|
||||
option.get_bufnrs.__raw = "vim.api.nvim_list_bufs";
|
||||
keywordLength = 3;
|
||||
}
|
||||
{name = "copilot";}
|
||||
{ name = "copilot"; }
|
||||
{
|
||||
name = "path"; # file system paths
|
||||
keywordLength = 3;
|
||||
|
|
@ -34,8 +46,12 @@
|
|||
];
|
||||
|
||||
window = {
|
||||
completion = {border = "solid";};
|
||||
documentation = {border = "solid";};
|
||||
completion = {
|
||||
border = "solid";
|
||||
};
|
||||
documentation = {
|
||||
border = "solid";
|
||||
};
|
||||
};
|
||||
|
||||
mapping = {
|
||||
|
|
@ -51,11 +67,21 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
cmp-nvim-lsp = {enable = true;}; # lsp
|
||||
cmp-buffer = {enable = true;};
|
||||
cmp-path = {enable = true;}; # file system paths
|
||||
cmp_luasnip = {enable = true;}; # snippets
|
||||
cmp-cmdline = {enable = false;}; # autocomplete for cmdline
|
||||
cmp-nvim-lsp = {
|
||||
enable = true;
|
||||
}; # lsp
|
||||
cmp-buffer = {
|
||||
enable = true;
|
||||
};
|
||||
cmp-path = {
|
||||
enable = true;
|
||||
}; # file system paths
|
||||
cmp_luasnip = {
|
||||
enable = true;
|
||||
}; # snippets
|
||||
cmp-cmdline = {
|
||||
enable = false;
|
||||
}; # autocomplete for cmdline
|
||||
};
|
||||
extraConfigLua = ''
|
||||
luasnip = require("luasnip")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue