Better Org mode hyperlink syntax highlighting and disabled link conceal

Org mode hyperlinks are now fully syntax highlighted (similar to
Markdown links).

The `org_conceal_links` option has been removed in favour of using
built-in Vim options to enable concealing (with a short section in the
`doc/org.txt` file on how to do this).  This was done because concealed
text makes navigating "hard-wrapped" documents difficult (especially
when the concealed text is as long as most URLs).
This commit is contained in:
Alex Vear
2020-02-15 03:00:16 +00:00
parent d671e862e4
commit 6a29a2e961
4 changed files with 23 additions and 37 deletions

View File

@@ -22,9 +22,3 @@ if org#option('org_clean_folds', 0)
setlocal foldtext=org#fold_text()
setlocal fillchars-=fold:-
endif
" Conceal Org mode link syntax
if org#option('org_conceal_links', 1)
setlocal conceallevel=2
setlocal concealcursor=nc
endif