summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/ftplugin/markdown.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-19 18:34:13 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-19 18:34:13 +0900
commit307fceea38b7352a79b0bdb87025a34b76973867 (patch)
tree382eb3e6a11973bc2c6ba33eee14d43ec2a9566b /ar/.config/TheSiahxyz/ftplugin/markdown.lua
parentb66f68b8c014a3041c936ee9de1b57db5bcb50fb (diff)
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/ftplugin/markdown.lua')
-rw-r--r--ar/.config/TheSiahxyz/ftplugin/markdown.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/ar/.config/TheSiahxyz/ftplugin/markdown.lua b/ar/.config/TheSiahxyz/ftplugin/markdown.lua
index 439e2a6..e27cd21 100644
--- a/ar/.config/TheSiahxyz/ftplugin/markdown.lua
+++ b/ar/.config/TheSiahxyz/ftplugin/markdown.lua
@@ -55,11 +55,11 @@ local function set_foldmethod_expr()
-- doesn't have them set
if vim.fn.has("nvim-0.10") == 1 then
vim.opt.foldmethod = "expr"
- vim.wo.foldexpr = "v:lua.require'thesiahxyz.utils.markdown'.foldexpr()"
+ vim.wo.foldexpr = "v:lua.require'TheSiahxyz.utils.markdown'.foldexpr()"
vim.opt.foldtext = ""
else
vim.opt.foldmethod = "indent"
- vim.wo.foldtext = "v:lua.require'thesiahxyz.utils.markdown'.foldexpr()"
+ vim.wo.foldtext = "v:lua.require'TheSiahxyz.utils.markdown'.foldexpr()"
end
vim.opt.foldlevel = 99
end
@@ -251,7 +251,7 @@ vim.api.nvim_create_autocmd("FileType", {
end,
})
--- This setting makes markdown auto-set the 80 text width limit when typing
+-- this setting makes markdown auto-set the 80 text width limit when typing
-- vim.cmd('set fo+=a')
if is_in_obsidian_repo() then
vim.bo.textwidth = 175 -- No limit for Obsidian repository
@@ -436,13 +436,13 @@ end, { desc = "Fold all headings level 4 or above" })
vim.keymap.set(
{ "o", "x" },
"il",
- "<cmd>lua require('various-textobjs').mdlink('inner')<CR>",
+ "<Cmd>lua require('various-textobjs').mdlink('inner')<CR>",
{ buffer = true, desc = "Link" }
)
vim.keymap.set(
{ "o", "x" },
"al",
- "<cmd>lua require('various-textobjs').mdlink('outer')<CR>",
+ "<Cmd>lua require('various-textobjs').mdlink('outer')<CR>",
{ buffer = true, desc = "Link" }
)