format cmp file
This commit is contained in:
parent
6ec12aabbb
commit
7fe27982d5
@ -90,7 +90,7 @@ return {
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'luasnip', priority = 8 },
|
{ name = 'luasnip', priority = 8 },
|
||||||
{
|
{
|
||||||
name = 'nvim_lsp',
|
name = 'nvim_lsp',
|
||||||
option = {
|
option = {
|
||||||
@ -125,9 +125,9 @@ return {
|
|||||||
},
|
},
|
||||||
enabled = function()
|
enabled = function()
|
||||||
return vim.api.nvim_get_option_value('buftype', { buf = 0 }) ~= 'prompt'
|
return vim.api.nvim_get_option_value('buftype', { buf = 0 }) ~= 'prompt'
|
||||||
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dap-repl'
|
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dap-repl'
|
||||||
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dapui_watches'
|
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dapui_watches'
|
||||||
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dapui_hover'
|
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dapui_hover'
|
||||||
end,
|
end,
|
||||||
-- completion = {
|
-- completion = {
|
||||||
-- completeopt = 'menu,menuone,noinsert, noselect',
|
-- completeopt = 'menu,menuone,noinsert, noselect',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user