removed some depracted calls
This commit is contained in:
parent
e20757dfff
commit
56865bb023
@ -124,10 +124,10 @@ return {
|
|||||||
-- { name = 'emoji' },
|
-- { name = 'emoji' },
|
||||||
},
|
},
|
||||||
enabled = function()
|
enabled = function()
|
||||||
return vim.api.nvim_buf_get_option(0, 'buftype') ~= 'prompt'
|
return vim.api.nvim_get_option_value('buftype', { buf = 0 }) ~= 'prompt'
|
||||||
or vim.api.nvim_buf_get_option(0, 'filetype') == 'dap-repl'
|
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dap-repl'
|
||||||
or vim.api.nvim_buf_get_option(0, 'filetype') == 'dapui_watches'
|
or vim.api.nvim_get_option_value('filetype', { buf = 0 }) == 'dapui_watches'
|
||||||
or vim.api.nvim_buf_get_option(0, 'filetype') == '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