diff options
author | Adam <adam.moloney.stuck@gmail.com> | 2022-05-03 12:49:59 +0200 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2022-05-03 17:17:20 +0200 |
commit | 279b9be02a6127609da52bb181a00783a91c9817 (patch) | |
tree | d24893e3724bee14a7a0f7611f1044e9699c2b29 /.config/nvim/lua/setup/nvim-cmp.lua | |
parent | a64fb392b3793fafd3589935225e8618c174e84c (diff) |
nvim: disable global status, formatting
Diffstat (limited to '.config/nvim/lua/setup/nvim-cmp.lua')
-rw-r--r-- | .config/nvim/lua/setup/nvim-cmp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/setup/nvim-cmp.lua b/.config/nvim/lua/setup/nvim-cmp.lua index 83b54cd..5b62d61 100644 --- a/.config/nvim/lua/setup/nvim-cmp.lua +++ b/.config/nvim/lua/setup/nvim-cmp.lua @@ -1,5 +1,5 @@ local has_words_before = function() - local line, col = unpack(vim.api.nvim_win_get_cursor(0)) + local line, col = table.unpack(vim.api.nvim_win_get_cursor(0)) return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil end |