Wed 21 Aug 00:35:48 CEST 2024
This commit is contained in:
parent
6e2f176944
commit
c23f29d78a
|
@ -34,8 +34,7 @@ local function should_load(path)
|
||||||
end
|
end
|
||||||
|
|
||||||
function teaching.load()
|
function teaching.load()
|
||||||
require("trouble").open("diagnostics")
|
vim.cmd("NvimTreeFindFileToggle")
|
||||||
require("nvim-tree").open()
|
|
||||||
local scan = require("plenary.scandir").scan_dir('.')
|
local scan = require("plenary.scandir").scan_dir('.')
|
||||||
local cwd = vim.fn.getcwd()
|
local cwd = vim.fn.getcwd()
|
||||||
for _, v in ipairs(scan) do
|
for _, v in ipairs(scan) do
|
||||||
|
@ -48,6 +47,7 @@ function teaching.load()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
vim.api.nvim_set_current_dir(cwd)
|
vim.api.nvim_set_current_dir(cwd)
|
||||||
|
require("trouble").open("diagnostics")
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.api.nvim_create_user_command("AP", teaching.load, {})
|
vim.api.nvim_create_user_command("AP", teaching.load, {})
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
};
|
};
|
||||||
associations.added = {
|
associations.added = {
|
||||||
"x-scheme-handler/tg" = "org.telegram.desktop.desktop";
|
"x-scheme-handler/tg" = "org.telegram.desktop.desktop";
|
||||||
|
"image/jpeg" = "org.gnome.Loupe.desktop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue