Compare commits
No commits in common. "22e70f9725bec5c2afa7d3d7ad2b373d9b7f47f8" and "9299b5821248333a03fb073fd7db44cbd061db24" have entirely different histories.
22e70f9725
...
9299b58212
@ -18,7 +18,7 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
||||
{ noremap = true, silent = true, desc = "[M]arkdown to [S]ingle page [Y]ank" })
|
||||
vim.keymap.set('', '<LocalLeader>my', ':w !pandoc -f markdown+emoji --wrap=none -t html5 | wl-copy --type text/html<CR><CR>',
|
||||
{ noremap = true, silent = true, desc = "[M]arkdown to HTML [Y]ank" })
|
||||
vim.keymap.set('', '<LocalLeader>mp', '<Plug>MarkdownPreviewToggle', { noremap = true, silent = true, desc = "[M]arkdown [P]review" })
|
||||
vim.keymap.set('', '<LocalLeader>mp', '<Plug>MarkdownPreviewToggle', { noremap = true, silent = true, desc = "[M]arkdown [Preview]" })
|
||||
end
|
||||
})
|
||||
|
||||
@ -60,15 +60,3 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||
require('spelling').spell_keymap()
|
||||
end,
|
||||
})
|
||||
|
||||
-- Typst bindings
|
||||
local typstgroup = vim.api.nvim_create_augroup("typst", { clear = true })
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "typst" },
|
||||
group = typstgroup,
|
||||
callback = function()
|
||||
vim.keymap.set('', '<LocalLeader>mp', ':TypstWatch<CR>', { noremap = true, silent = true, desc = "[M]ake [P]review" })
|
||||
require('spelling').spell_keymap()
|
||||
end,
|
||||
})
|
||||
|
||||
|
@ -301,10 +301,5 @@ require('lazy').setup({
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
ft = { "markdown", "pandoc" },
|
||||
build = function() vim.fn["mkdp#util#install"]() end,
|
||||
},
|
||||
{
|
||||
'kaarmu/typst.vim',
|
||||
ft = 'typst',
|
||||
lazy = false,
|
||||
}
|
||||
}, {})
|
||||
|
@ -96,7 +96,6 @@ local servers = {
|
||||
'norg',
|
||||
'gitcommit',
|
||||
'rst',
|
||||
'typst'
|
||||
},
|
||||
ltex = {
|
||||
language = "auto",
|
||||
@ -119,9 +118,6 @@ local servers = {
|
||||
}
|
||||
}
|
||||
},
|
||||
tinymist = {
|
||||
exportPdf = "onType",
|
||||
},
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
workspace = { checkThirdParty = false },
|
||||
|
Loading…
Reference in New Issue
Block a user