mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
docs: support inline markdown
- Tags are now created with `[tag]()` - References are now created with `[tag]` - Code spans are no longer wrapped
This commit is contained in:
committed by
Lewis Russell
parent
0e28493914
commit
ade1b12f49
@ -139,4 +139,16 @@ describe('luacats grammar', function()
|
||||
type = 'string|table|(fun(diagnostic:vim.Diagnostic,i:integer,total:integer): string, string)',
|
||||
}
|
||||
)
|
||||
|
||||
test('@field [integer] integer', {
|
||||
kind = 'field',
|
||||
name = '[integer]',
|
||||
type = 'integer',
|
||||
})
|
||||
|
||||
test('@field [1] integer', {
|
||||
kind = 'field',
|
||||
name = '[1]',
|
||||
type = 'integer',
|
||||
})
|
||||
end)
|
||||
|
@ -55,4 +55,6 @@ describe('md_to_vimdoc', function()
|
||||
' para2',
|
||||
'',
|
||||
}, 0, 10, 78)
|
||||
|
||||
test('inline 1', { '(`string`)' }, { '(`string`)', '' })
|
||||
end)
|
||||
|
Reference in New Issue
Block a user