Skip to main content
Module

x/denops_std/option/mod.ts>makeprg

📚 Standard module for denops.vim
Go to Latest
variable makeprg
import { makeprg } from "https://deno.land/x/denops_std@v3.6.0/option/mod.ts";

Program to use for the ":make" command. See |:make_makeprg|. This option may contain '%' and '#' characters (see |:%| and |:#|), which are expanded to the current and alternate file name. Use |::S| to escape file names in case they contain special characters. Environment variables are expanded |:set_env|. See |option-backslash| about including spaces and backslashes. Note that a '|' must be escaped twice: once for ":set" and once for the interpretation of a command. When you use a filter called "myfilter" do it like this: > :set makeprg=gmake\ \|\ myfilter < The placeholder "$*" can be given (even multiple times) to specify where the arguments will be included, for example: > :set makeprg=latex\ \\nonstopmode\ \\input\{$*} < This option cannot be set from a |modeline| or in the |sandbox|, for security reasons.