nvim(fix): indent_line and cmp

This commit is contained in:
TheK4n 2023-06-01 00:06:18 +03:00
parent 38c31c4724
commit 6c30b9d5da
3 changed files with 3 additions and 12 deletions

View File

@ -1,4 +1,3 @@
local status, cmp = pcall(require, "cmp") local status, cmp = pcall(require, "cmp")
if (not status) then return end if (not status) then return end
@ -15,7 +14,7 @@ local border_opts = {
cmp.setup { cmp.setup {
completion = { completion = {
autocomplete = true autocomplete = false
}, },
snippet = { snippet = {
expand = function(args) expand = function(args)

View File

@ -162,12 +162,7 @@ local plugins = {
{ {
"lukas-reineke/indent-blankline.nvim", "lukas-reineke/indent-blankline.nvim",
config = function() config = function()
require('indent_blankline').setup { require('indent_blankline').setup()
char = "",
char_highlight_list = { "IndentBlanklineIndent1" },
show_trailing_blankline_indent = false,
use_treesitter = true,
}
end, end,
}, },
{ {
@ -215,11 +210,9 @@ local plugins = {
update_on_change = true, update_on_change = true,
app = 'webview', app = 'webview',
filetype = {'markdown'}, filetype = {'markdown'},
vim.keymap.set('n', '<Leader>rr', "<cmd>lua require('peek').open()<CR>", {noremap=true, silent=true})
}) })
end, end,
keys = {
{ '<Leader>rr', "<cmd>lua require('peek').open()<CR>" },
}
}, },
} }

View File

@ -65,7 +65,6 @@ opt.scrolloff = 7
opt.termguicolors = true opt.termguicolors = true
vim.cmd [[highlight IndentBlanklineIndent1 guifg=#464e60 gui=nocombine]]
opt.background = 'dark' opt.background = 'dark'