From 0625608caed54b393f74c5fb3404ba87e288270e Mon Sep 17 00:00:00 2001 From: William Boman Date: Tue, 17 Aug 2021 14:37:54 +0200 Subject: add tflint (#52) * add tflint * Update lua/nvim-lsp-installer/servers/tflint/init.lua --- lua/nvim-lsp-installer/installers/shell.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lua/nvim-lsp-installer/installers/shell.lua') diff --git a/lua/nvim-lsp-installer/installers/shell.lua b/lua/nvim-lsp-installer/installers/shell.lua index e21d33c3..6cbe26ae 100644 --- a/lua/nvim-lsp-installer/installers/shell.lua +++ b/lua/nvim-lsp-installer/installers/shell.lua @@ -28,8 +28,12 @@ function M.raw(raw_script, opts) vim.cmd [[new]] vim.fn.termopen((opts.prefix or default_opts.prefix) .. raw_script, jobstart_opts) vim.o.shell = shell - vim.cmd [[startinsert]] + vim.cmd [[startinsert]] -- so that we tail the term log nicely ¯\_(ツ)_/¯ end end +function M.remote(url, opts) + return M.raw(("curl -s -f %q | bash"):format(url), opts) +end + return M -- cgit v1.2.3-70-g09d2