summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/knap.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/knap.lua')
-rw-r--r--.config/nvim/lua/plugins/knap.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/knap.lua b/.config/nvim/lua/plugins/knap.lua
new file mode 100644
index 0000000..6ee24c1
--- /dev/null
+++ b/.config/nvim/lua/plugins/knap.lua
@@ -0,0 +1,8 @@
+local gknapsettings = {
+ texoutputext = "pdf",
+ textopdf = "tectonic %docroot%",
+ textopdfviewerlaunch = "sioyek %outputfile%",
+ textopdfviewerrefresh = "kill -HUP %pid%"
+}
+vim.g.knap_settings = gknapsettings
+