diff options
| author | Chris <[email protected]> | 2021-07-02 14:39:36 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-07-02 14:39:36 -0400 | 
| commit | 255b14a37176e2072810bc03d160e7ebd6a49d41 (patch) | |
| tree | 3698e96351aedb7ed7de5f32b57c7d768815f3d8 /lua | |
| parent | c1c4e63e5b7cb75f71c137bfd39ae44cd85e537b (diff) | |
remove lv config so that user settings actually mean something
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lv-compe/init.lua | 28 | 
1 files changed, 2 insertions, 26 deletions
| diff --git a/lua/lv-compe/init.lua b/lua/lv-compe/init.lua index 54ef2310..d0f7efb1 100644 --- a/lua/lv-compe/init.lua +++ b/lua/lv-compe/init.lua @@ -34,32 +34,6 @@ require'compe'.setup {      }  } ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  ---  --- m ---  ---  ---  ---  -  local t = function(str)    return vim.api.nvim_replace_termcodes(str, true, true, true)  end @@ -87,6 +61,7 @@ _G.tab_complete = function()      return vim.fn['compe#complete']()    end  end +  _G.s_tab_complete = function()    if vim.fn.pumvisible() == 1 then      return t "<C-p>" @@ -97,6 +72,7 @@ _G.s_tab_complete = function()    end  end +  vim.api.nvim_set_keymap("i", "<Tab>", "v:lua.tab_complete()", {expr = true})  vim.api.nvim_set_keymap("s", "<Tab>", "v:lua.tab_complete()", {expr = true})  vim.api.nvim_set_keymap("i", "<S-Tab>", "v:lua.s_tab_complete()", {expr = true}) | 
