format cmp file

This commit is contained in:
Oliver Hartmann 2024-06-20 22:58:21 +02:00
parent 6ec12aabbb
commit 7fe27982d5

View File

@ -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',