Skip to content

Commit

Permalink
Update jaq-nvim.lua
Browse files Browse the repository at this point in the history
Add a new environment varialble to solve is0n#22
  • Loading branch information
rust-kotlin committed Nov 18, 2022
1 parent 236296a commit bbca7b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/jaq-nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ local function substitute(cmd)
cmd = cmd:gsub("%%", vim.fn.expand('%'));
cmd = cmd:gsub("$fileBase", vim.fn.expand('%:r'));
cmd = cmd:gsub("$filePath", vim.fn.expand('%:p'));
cmd = cmd:gsub("$baseName", vim.fn.expand("%:t:r"))
cmd = cmd:gsub("$file", vim.fn.expand('%'));
cmd = cmd:gsub("$dir", vim.fn.expand('%:p:h'));
cmd = cmd:gsub("$moduleName",
Expand Down

0 comments on commit bbca7b6

Please sign in to comment.