refactor(nvim): improve orgmode journal template

This commit is contained in:
Price Hiller 2023-12-10 00:43:04 -06:00
parent 66d39c655a
commit 087c68af35
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
3 changed files with 3 additions and 10 deletions

View File

@ -1 +1,2 @@
vim.opt_local.commentstring = "-- %s"
vim.opt_local.shiftwidth = 2

View File

@ -25,7 +25,7 @@ return {
markdown = filetypes.markdown.prettierd,
css = filetypes.css.prettierd,
lua = filetypes.lua.stylua,
psql = function ()
sql = function ()
return {
exe = "sql-formatter",
args = {
@ -35,14 +35,6 @@ return {
},
}
end,
sql = function ()
return {
exe = "sql-formatter",
args = {
"--fix",
},
}
end,
asm = function()
return {
exe = "asmfmt",

View File

@ -45,7 +45,7 @@ return {
},
j = {
description = "Journal",
template = "\n** %U :journal:\n\n%?",
template = "\n* %? %U :journal:",
target = "~/Notes/journal/%<%Y-%m-%d>.org"
},
},