X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b4be7adc44df6f0c7e0f73eb84933e3259dbff90..d8309be06a202b1bd6a9a2dd8eacc6e9b10e459b:/test/syntax.vader 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;