nvim(fix): indent_line and cmp
This commit is contained in:
parent
38c31c4724
commit
6c30b9d5da
@ -1,4 +1,3 @@
|
||||
|
||||
local status, cmp = pcall(require, "cmp")
|
||||
if (not status) then return end
|
||||
|
||||
@ -15,7 +14,7 @@ local border_opts = {
|
||||
|
||||
cmp.setup {
|
||||
completion = {
|
||||
autocomplete = true
|
||||
autocomplete = false
|
||||
},
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
|
||||
@ -162,12 +162,7 @@ local plugins = {
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
config = function()
|
||||
require('indent_blankline').setup {
|
||||
char = "▏",
|
||||
char_highlight_list = { "IndentBlanklineIndent1" },
|
||||
show_trailing_blankline_indent = false,
|
||||
use_treesitter = true,
|
||||
}
|
||||
require('indent_blankline').setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
@ -215,11 +210,9 @@ local plugins = {
|
||||
update_on_change = true,
|
||||
app = 'webview',
|
||||
filetype = {'markdown'},
|
||||
vim.keymap.set('n', '<Leader>rr', "<cmd>lua require('peek').open()<CR>", {noremap=true, silent=true})
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{ '<Leader>rr', "<cmd>lua require('peek').open()<CR>" },
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -65,7 +65,6 @@ opt.scrolloff = 7
|
||||
|
||||
|
||||
opt.termguicolors = true
|
||||
vim.cmd [[highlight IndentBlanklineIndent1 guifg=#464e60 gui=nocombine]]
|
||||
|
||||
opt.background = 'dark'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user