SHARE
TWEET

Untitled

a guest Jun 25th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function! pandoc#spell#Init()
  2.     if !exists("g:pandoc#spell#enabled")
  3.         let g:pandoc#spell#enabled = 1
  4.     endif
  5.     if !exists("g:pandoc#spell#default_langs")
  6.         let g:pandoc#spell#default_langs = []
  7.     endif
  8.  
  9.     if g:pandoc#spell#enabled == 1
  10.         setlocal spell
  11.     endif
  12.     if g:pandoc#spell#default_langs != []
  13.         exe "setlocal spelllang=".join(g:pandoc#spell#default_langs, ',')
  14.     endif
  15. endfunction
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top