aboutsummaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/after/ftplugin/dockerfile.lua
blob: deb3ccf68104eab6061f6000b99f3d918baaf22d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- Personal lua config files for NeoVim.
--  Last Changed: 2023-01-10
--  Author: Federico Igne <git@federicoigne.com>
--  License: This file is placed in the public domain.

local abbrev = require 'dyamon.util.abbrev'

for _,w in ipairs({ "from", "workdir", "copy", "run", "cmd" }) do
    abbrev.i(w, "luaeval('require\"dyamon.util.abbrev\".custom.docker_cmd(\"" .. w .. "\")')", true, true)
end