[NVIM] Add macdown
This commit is contained in:
@@ -77,6 +77,11 @@ Plug 'lervag/vimtex'
|
|||||||
"Go
|
"Go
|
||||||
Plug 'fatih/vim-go'
|
Plug 'fatih/vim-go'
|
||||||
|
|
||||||
|
"Macdown (only on macOS)
|
||||||
|
if has("macunix")
|
||||||
|
Plug 'hashrocket/vim-macdown'
|
||||||
|
endif
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Run PlugInstall if there are missing plugins
|
" Run PlugInstall if there are missing plugins
|
||||||
@@ -287,4 +292,7 @@ if has("macunix")
|
|||||||
else
|
else
|
||||||
let g:python3_host_prog="/usr/local/bin/python3"
|
let g:python3_host_prog="/usr/local/bin/python3"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Open MacDown preview on .md save
|
||||||
|
autocmd BufWritePost *.md MacDownPreview
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user