Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.makeencoding

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
variable op.makeencoding
import { op } from "https://deno.land/x/ddc_vim@v3.8.0/deps.ts";
const { makeencoding } = op;

Encoding used for reading the output of external commands. When empty, encoding is not converted. This is used for :make, :lmake, :grep, :lgrep, :grepadd, :lgrepadd, :cfile, :cgetfile, :caddfile, :lfile, :lgetfile, and :laddfile.

This would be mostly useful when you use MS-Windows and set 'encoding' to "utf-8". If +iconv is enabled and GNU libiconv is used, setting 'makeencoding' to "char" has the same effect as setting to the system locale encoding. Example:

:set encoding=utf-8
:set makeencoding=char  " system locale is used

(default "")

type

GlobalOrLocalOption<string>