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
|
||||
|
||||
function teaching.load()
|
||||
require("trouble").open("diagnostics")
|
||||
require("nvim-tree").open()
|
||||
vim.cmd("NvimTreeFindFileToggle")
|
||||
local scan = require("plenary.scandir").scan_dir('.')
|
||||
local cwd = vim.fn.getcwd()
|
||||
for _, v in ipairs(scan) do
|
||||
|
@ -48,6 +47,7 @@ function teaching.load()
|
|||
end
|
||||
end
|
||||
vim.api.nvim_set_current_dir(cwd)
|
||||
require("trouble").open("diagnostics")
|
||||
end
|
||||
|
||||
vim.api.nvim_create_user_command("AP", teaching.load, {})
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
};
|
||||
associations.added = {
|
||||
"x-scheme-handler/tg" = "org.telegram.desktop.desktop";
|
||||
"image/jpeg" = "org.gnome.Loupe.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue