removed some depracted calls

This commit is contained in:
Oliver Hartmann 2024-06-20 22:44:31 +02:00
parent e20757dfff
commit 56865bb023

View File

@ -124,10 +124,10 @@ return {
-- { name = 'emoji' },
},
enabled = function()
return vim.api.nvim_buf_get_option(0, 'buftype') ~= 'prompt'
or vim.api.nvim_buf_get_option(0, 'filetype') == 'dap-repl'
or vim.api.nvim_buf_get_option(0, 'filetype') == 'dapui_watches'
or vim.api.nvim_buf_get_option(0, 'filetype') == 'dapui_hover'
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 }) == 'dapui_watches'
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dapui_hover'
end,
-- completion = {
-- completeopt = 'menu,menuone,noinsert, noselect',