plugins/lsp: move related plugins to by-name

This commit is contained in:
Matt Sturgeon 2024-09-04 17:47:06 +01:00
parent 91c6b62881
commit 8815180c62
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
23 changed files with 0 additions and 11 deletions

View file

@ -1,42 +0,0 @@
{
empty = {
plugins.wtf.enable = true;
};
example = {
plugins.wtf = {
enable = true;
keymaps = {
ai = "gw";
search = {
mode = [
"n"
"x"
];
options.desc = "Search diagnostic with Google";
};
};
popupType = "popup";
openaiApiKey = null;
openaiModelId = "gpt-3.5-turbo";
context = true;
language = "english";
additionalInstructions = "Hello world !";
searchEngine = "google";
hooks = {
requestStarted = ''
function()
vim.cmd("hi StatusLine ctermbg=NONE ctermfg=yellow")
end
'';
requestFinished = ''
vim.schedule_wrap(function()
vim.cmd("hi StatusLine ctermbg=NONE ctermfg=NONE")
end)
'';
};
winhighlight = "Normal:Normal,FloatBorder:FloatBorder";
};
};
}