X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/2cbdce375bb945fecb3f110437b595dcc6dad566..da8a4756efb2b2d9140f610c95dcf3adc1bdb9ba:/test/syntax.vader?ds=sidebyside diff --git a/test/syntax.vader b/test/syntax.vader index 6f0a694..bdc599f 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -98,6 +98,20 @@ Execute (multiple links on a line): AssertNotEqual SyntaxOf('c'), 'mkdLink' AssertNotEqual SyntaxOf('c'), 'mkdURL' +Given markdown; +[a](b) + +Execute (conceal link): + setlocal conceallevel=2 + AssertEqual synconcealed(1, 1)[0], 1 + AssertEqual synconcealed(1, 2)[0], 0 + AssertEqual synconcealed(1, 3)[0], 1 + AssertEqual synconcealed(1, 4)[0], 1 + AssertEqual synconcealed(1, 4)[0], 1 + AssertEqual synconcealed(1, 5)[0], 1 + AssertEqual synconcealed(1, 6)[0], 1 + setlocal conceallevel=0 + # Autolinks Given markdown;