From 26de01aceff61f4661a513a9237cbcdf96bcb38b Mon Sep 17 00:00:00 2001 From: danymat Date: Tue, 11 Jan 2022 15:27:17 +0100 Subject: [PATCH] fix: delete unused code (#38) --- lua/neogen.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lua/neogen.lua b/lua/neogen.lua index f45efaf..a49a79c 100644 --- a/lua/neogen.lua +++ b/lua/neogen.lua @@ -163,11 +163,6 @@ function neogen.match_commands() end function neogen.generate_command() - vim.api.nvim_command([[ - function! s:match_commands(arg, line, pos) - return luaeval('require("neogen").match_commands("' .. a:arg .. '")') - endfunction - ]]) vim.api.nvim_command( 'command! -nargs=? -complete=customlist,v:lua.neogen.match_commands -range -bar Neogen lua require("neogen").generate({ type = })' )