From bee12d3686c19b1aaddf18ca58a2556fd7c200f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 5 Mar 2017 11:04:38 +0100 Subject: lua: reimplement word and file name completion in lua The file name completion does not yet behave the same way as the previous C code because the completion prefix is currently simply calculated using the `iw` text object which does not handle common path elements (e.g. `.`, `/`, `~`, etc). --- lua/vis-std.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/vis-std.lua') diff --git a/lua/vis-std.lua b/lua/vis-std.lua index 6499f24..a0b84f6 100644 --- a/lua/vis-std.lua +++ b/lua/vis-std.lua @@ -131,3 +131,5 @@ require('plugins/filetype') require('plugins/textobject-lexer') require('plugins/digraph') require('plugins/number-inc-dec') +require('plugins/complete-word') +require('plugins/complete-filename') -- cgit v1.2.3