I'm new to emacs (spacemacs) and have been trying to get org-mode to highlight quoted strings
"like this" and quoted strings
'like this'. I followed the example here, and came up with this:
;; Fancy custom syntax highlighting of quoted strings! (add-hook 'org-mode-hook (lambda () (font-lock-add-keywords nil '(("\".*?\"" 1 font-lock-constant-face t) ("'.*?'" 1 font-lock-doc-face t)))))
This seems to break syntax highlighting all together, and doesn't succeed in higlighting my quoted strings at all. What am I doing wrong?