New post
This commit is contained in:
11
posts/a-new-post.md
Normal file
11
posts/a-new-post.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# A New Post
|
||||
|
||||
This is a new post.
|
||||
|
||||
## Sub-heading
|
||||
|
||||
This is a sub-heading.
|
||||
|
||||
## Image
|
||||
|
||||

|
||||
BIN
posts/a-new-post/photo-1608848461950-0fe51dfc41cb.jpg
Normal file
BIN
posts/a-new-post/photo-1608848461950-0fe51dfc41cb.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 246 KiB |
@@ -117,14 +117,11 @@ vim.api.nvim_create_user_command("Args", function(a) updateArgs(a.fargs) end,
|
||||
{ nargs = '*', desc = "Update run/debug arguments" })
|
||||
|
||||
if dap_ok then
|
||||
-- We need to query this to get the sysroot
|
||||
-- ls $(rustc --print sysroot)/lib/rustlib/etc
|
||||
local rust_path = vim.fn.system("rustc --print sysroot")
|
||||
-- trim trailing newline
|
||||
rust_path =
|
||||
local rust_path = vim.fn.system("rustc --print sysroot") -- We need to query this to get the sysroot
|
||||
rust_path = string.sub(rust_path, 1, #rust_path - 1) -- trim trailing newline
|
||||
local lldb_init = {
|
||||
"command script import " .. rust_path .. "/lib/rustlib/etc/lldb_lookup.py",
|
||||
"command source "..rust_path.."lib/rustlib/etc/lldb_commands",
|
||||
"command source " .. rust_path .. "/lib/rustlib/etc/lldb_commands",
|
||||
}
|
||||
dap_configs = {
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$<include src="header.html"/>
|
||||
<h1>Recent Posts</h1>
|
||||
$<post-list limit=2/>
|
||||
$<post-list limit="10"/>
|
||||
$<include src="footer.html"/>
|
||||
|
||||
Reference in New Issue
Block a user