You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
570 B
Lua

-- adding packages
vim.cmd('packadd vim-markdown')
vim.cmd('packadd vimwiki')
-- due date highlighting
require('due_nvim').setup {
ft = '*.md',
date_hi = 'Comment',
week_hi = 'Structure',
pattern_start = '<',
pattern_end = '>',
use_clock_time = true,
use_clock_today = true,
use_seconds = false,
}
-- setting spell check
vim.cmd([[
setlocal spell
setlocal wrap
]])
-- markdown plugin settings
vim.opt.conceallevel = 2
vim.g.vim_markdown_folding_disabled = 1
vim.g.vim_markdown_math = 1
vim.g.vim_markdown_strikethrough = 1