0

Given this example markdown text, the single apostrophes (ASCII 0x27) used for possessives and contractions keep getting highlighted as the begining or end of string literals, e.g. the substring 's or user' is highlighted in the color I've seet for string literals in my color scheme.

# Heading 1

If use use an apostrophe for an English posessive or contraction, such as it's
or users's, it treats it as the begining or end of a string literal in a
markdown file.

I've tried installing and configuring a few Markdown plugins based on Enabling markdown highlighting in Vim. None of the answers or comments helped me figure it out.

I am expecting that, out of the box once the right plugins are installed and my .vimrc is configured properly, when I open a markdown file, apostrophes (ASCII 0x27) will not be treated as the begining or end of string literal highlighting, and instead as just a character used in standard English grammar for posessives and contractions.

romainl
  • 186,200
  • 21
  • 280
  • 313
bitsplit
  • 1,040
  • 9
  • 17
  • 1
    Try https://github.com/tpope/vim-markdown – svlasov Aug 15 '23 at 15:35
  • 3
    The built-in syntax highlighting doesn't do what you describe. Figure out which of your plugins is responsible for that and use their issue tracker. – romainl Aug 15 '23 at 16:42
  • You realize the question you refer to is 12 years old? You need not install any plugin to get markdown support with a recent version of Vim. – Friedrich Aug 25 '23 at 10:40

0 Answers0