diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-18 22:19:57 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-18 22:19:57 +0100 |
commit | e6fed655e18343e6e399e8198346466effe8c3a8 (patch) | |
tree | cdae8ac05aa014a4970f3bdf656cb297527780e5 /.config/nvim/lua/_compe | |
parent | 55517dded759e1dd4381792985a6d7fb88df8a1e (diff) |
Fix nvim lua scripts
Diffstat (limited to '.config/nvim/lua/_compe')
-rw-r--r-- | .config/nvim/lua/_compe/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/_compe/init.lua b/.config/nvim/lua/_compe/init.lua index d269be4..75fa9b5 100644 --- a/.config/nvim/lua/_compe/init.lua +++ b/.config/nvim/lua/_compe/init.lua @@ -1,3 +1,5 @@ +vim.o.completeopt = "menuone,noselect" + require'compe'.setup { enabled = true; autocomplete = true; @@ -27,6 +29,9 @@ require'compe'.setup { } + + + local t = function(str) return vim.api.nvim_replace_termcodes(str, true, true, true) end |