diff options
Diffstat (limited to '.config/nvim/lua/setup')
-rw-r--r-- | .config/nvim/lua/setup/indent-blankline.lua | 6 | ||||
-rw-r--r-- | .config/nvim/lua/setup/lualine.lua | 2 | ||||
-rw-r--r-- | .config/nvim/lua/setup/nvim-cmp.lua | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.config/nvim/lua/setup/indent-blankline.lua b/.config/nvim/lua/setup/indent-blankline.lua index ff81338..17dcdab 100644 --- a/.config/nvim/lua/setup/indent-blankline.lua +++ b/.config/nvim/lua/setup/indent-blankline.lua @@ -1,6 +1,6 @@ require("indent_blankline").setup { - char = "▏", + char = "┊", show_trailing_blankline_indent = false, - buftype_exclude = {"startify", "help", "terminal"}, - filetype_exclude = {"startify", "help", "terminal"}, + buftype_exclude = {'startify', 'help', 'terminal', 'packer'}, + filetype_exclude = {'startify', 'help', 'terminal', 'packer'}, } diff --git a/.config/nvim/lua/setup/lualine.lua b/.config/nvim/lua/setup/lualine.lua index 0c07a4a..1182fce 100644 --- a/.config/nvim/lua/setup/lualine.lua +++ b/.config/nvim/lua/setup/lualine.lua @@ -4,7 +4,7 @@ require'lualine'.setup { theme = 'onedark', component_separators = {left = '', right = ''}, section_separators = {left = '', right = ''}, - disabled_filetypes = {'startify', 'terminal', 'netrw', 'NvimTree'} + disabled_filetypes = {'startify', 'terminal', 'netrw', 'NvimTree', 'packer'} }, sections = { lualine_a = {'mode'}, diff --git a/.config/nvim/lua/setup/nvim-cmp.lua b/.config/nvim/lua/setup/nvim-cmp.lua index 42bf348..584da73 100644 --- a/.config/nvim/lua/setup/nvim-cmp.lua +++ b/.config/nvim/lua/setup/nvim-cmp.lua @@ -1,6 +1,6 @@ local has_words_before = function() - local line, col = 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 + local line, col = 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 local luasnip = require("luasnip") |