aboutsummaryrefslogtreecommitdiff
path: root/lua/vis-std.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-05 11:04:38 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-03-05 11:04:38 +0100
commitbee12d3686c19b1aaddf18ca58a2556fd7c200f0 (patch)
tree688cc6c6f9fb780c20564a63fd5fdf0f72785f41 /lua/vis-std.lua
parent368fdf04acd490edfb6561796696ded79c3bf9a6 (diff)
downloadvis-bee12d3686c19b1aaddf18ca58a2556fd7c200f0.tar.gz
vis-bee12d3686c19b1aaddf18ca58a2556fd7c200f0.tar.xz
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).
Diffstat (limited to 'lua/vis-std.lua')
-rw-r--r--lua/vis-std.lua2
1 files changed, 2 insertions, 0 deletions
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')