summaryrefslogtreecommitdiff
path: root/lua/user/pandoc.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-09-03 00:18:08 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-09-03 00:18:08 +0100
commit9c43c4fe5a8e913fc85caa37922e420d4bf2ee1b (patch)
tree33ca08d4bf174ebb360fc682bef8a2b15d27ef24 /lua/user/pandoc.lua
parent0d2e2258c31f9144290dfc31e15bb367f8528cf3 (diff)
Added pandoc plugin
Diffstat (limited to 'lua/user/pandoc.lua')
-rw-r--r--lua/user/pandoc.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/user/pandoc.lua b/lua/user/pandoc.lua
new file mode 100644
index 0000000..40b3e9a
--- /dev/null
+++ b/lua/user/pandoc.lua
@@ -0,0 +1,8 @@
+local status_ok = pcall(require, "pandoc")
+if not status_ok then
+ return
+end
+
+local pandoc =require "pandoc"
+
+pandoc.setup()