Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- add project root to lua package path so requires work when the cwd is not
-- the project root
package.path = PANDOC_STATE.user_data_dir .. "/../?.lua;" .. package.path
1 change: 1 addition & 0 deletions panvimdoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ ARGS=(
# Add an additional lua filter if demojify is true
if [[ ${DEMOJIFY:-false} == "true" ]]; then
ARGS+=(
"--data-dir=$SCRIPTS_DIR/../lib"
"--lua-filter=$SCRIPTS_DIR/remove-emojis.lua"
)
fi
Expand Down