Compare commits

...

2 commits

Author SHA1 Message Date
ae5a5a502f nvim: update: org config 2024-06-24 21:53:46 +09:00
a26aa2cd02 nvim: update: use tinymist instead of typst-lsp 2024-06-24 18:15:24 +09:00

View file

@ -230,6 +230,32 @@ require('lazy').setup({
require('orgmode').setup({
org_agenda_files = '~/orgfiles/**/*',
org_default_notes_file = '~/orgfiles/refile.org',
org_todo_keywords = {
"TODO(t)",
"PLAN(p)",
"NEXT(n)",
"|",
"DONE(d)",
"CANCELED(c)",
},
org_todo_keyword_faces = {
-- TODO = ":foreground red",
PLAN = ":foreground #F0BB61",
NEXT = ":background #663333 :foreground #E0A0A0",
CANCELED = ":foreground #99AA99",
},
org_archive_location = '~/orgfiles/archives/%s_archive::',
org_capture_templates = {
t = {
description = "Task",
template = '* TODO %?\n %u'
},
l = {
description = "Log",
template = '* %?\n %U'
}
},
org_id_link_to_org_use_id = true,
})
end,
},
@ -642,7 +668,13 @@ lspconfig.powershell_es.setup {
-- cmd = {'omnisharp'},
-- }
lspconfig.typst_lsp.setup {
-- lspconfig.typst_lsp.setup {
-- on_attach = on_attach,
-- capabilities = capabilities,
-- single_file_support = true,
-- }
lspconfig.tinymist.setup {
on_attach = on_attach,
capabilities = capabilities,
single_file_support = true,