Compare commits
No commits in common. "13db25f74de21d019ee813ae6b7ac5c02b64fb97" and "1c033b2a25e9c5433f08b7369bc0e43d469dae00" have entirely different histories.
13db25f74d
...
1c033b2a25
|
|
@ -77,7 +77,6 @@ in {
|
||||||
icu74
|
icu74
|
||||||
alejandra
|
alejandra
|
||||||
vscode-extensions.ms-vscode.cpptools
|
vscode-extensions.ms-vscode.cpptools
|
||||||
nixpkgs-fmt
|
|
||||||
];
|
];
|
||||||
extraPlugins = with pkgs.vimPlugins; [
|
extraPlugins = with pkgs.vimPlugins; [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -201,14 +201,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
":" = {
|
":" = {
|
||||||
completion.completeopt = "menu,menuone,noselect";
|
|
||||||
mapping = {
|
|
||||||
__raw = ''
|
|
||||||
cmp.mapping.preset.cmdline({
|
|
||||||
["<CR>"] = cmp.mapping.confirm { select = true },
|
|
||||||
})
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
sources = [
|
sources = [
|
||||||
{
|
{
|
||||||
name = "path";
|
name = "path";
|
||||||
|
|
@ -220,7 +212,7 @@
|
||||||
};
|
};
|
||||||
"?" = {
|
"?" = {
|
||||||
mapping = {
|
mapping = {
|
||||||
completion.completeopt = "menu,menuone,noselect";
|
completion.completeopt = "menuone,noselect";
|
||||||
__raw = "cmp.mapping.preset.cmdline({
|
__raw = "cmp.mapping.preset.cmdline({
|
||||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||||
|
|
|
||||||
|
|
@ -1,31 +1,9 @@
|
||||||
{
|
{
|
||||||
plugins.trouble = {
|
plugins.trouble.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
modes = {
|
|
||||||
workspace-diagnostics = {
|
|
||||||
mode = "diagnostics";
|
|
||||||
filter = [{
|
|
||||||
any = [
|
|
||||||
{ buf = 0; }
|
|
||||||
{
|
|
||||||
__raw =
|
|
||||||
''
|
|
||||||
function(item)
|
|
||||||
return item.filename:find((vim.loop or vim.uv).cwd(), 1, true)
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
{
|
{
|
||||||
key = "<leader>xx";
|
key = "<leader>xx";
|
||||||
action = "<cmd>Trouble workspace-diagnostics toggle<CR>";
|
action = "<cmd>Trouble diagnostics toggle<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
silent = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue