some markdown enhancements

This commit is contained in:
2024-05-18 20:19:57 +02:00
parent 87858ea0de
commit 68562ea1be
3 changed files with 22 additions and 10 deletions

View File

@ -1,7 +1,7 @@
return {
'hrsh7th/nvim-cmp',
branch = 'main',
event = {'InsertEnter', 'CmdlineEnter'},
event = { 'InsertEnter', 'CmdlineEnter' },
dependencies = {
{ 'onsails/lspkind-nvim' },
{ 'hrsh7th/cmp-buffer' },
@ -89,9 +89,16 @@ return {
end,
},
sources = {
{ name = 'neorg', priority = 8 },
{ name = 'luasnip', priority = 8 },
{ name = 'nvim_lsp', priority = 7 },
{ name = 'neorg', priority = 8 },
{ name = 'luasnip', priority = 8 },
{
name = 'nvim_lsp',
option = {
markdown_oxide = {
keyword_pattern = [[\(\k\| \|\/\|#\)\+]]
}
}
},
{ name = 'nvim_lsp_signature_help', priority = 7 },
-- { name = 'treesitter', priority = 6 },
{