enable nvim pears tag matching preset

This commit is contained in:
LordMZTE 2021-10-16 19:42:20 +02:00
parent 7171685ebe
commit a7f575f3e8

View file

@ -1,4 +1,8 @@
require "pears".setup(function(conf)
local pears = require "pears"
pears.setup(function(conf)
conf.preset "tag_matching"
conf.on_enter(function(pears_handle)
if vim.fn.pumvisible() == 1 then
return vim.fn["coc#_select_confirm"]()