Fix issues with spell check and disable italic font by default

- Fixes issues with Vim's spell checker not spell checking regular text
  in Org-mode files.
- Disables the use of italic fonts by default (an option is now
  provided to change this behaviour).
- Disabled conceal for all elements except hyperlinks.
- Concealed elements are now only unconcealed when editing the text.
- Re-organised blocks in the syntax file.
This commit is contained in:
Alex Vear
2019-02-24 14:59:22 +00:00
parent 0fc590b293
commit 481fde5dc4
2 changed files with 47 additions and 36 deletions

View File

@@ -1,10 +1,11 @@
" =============================================================
" Description: Configure Org-mode folding
" Author: Alex Vear (axvr)
" Licence: ISC (2018)
" Licence: ISC (2019)
" =============================================================
setlocal conceallevel=2
setlocal concealcursor=nc
setlocal commentstring=#%s
function! OrgFold()