local M = { 'briangwaltney/paren-hint.nvim', lazy = false, dependencies = { 'nvim-treesitter/nvim-treesitter', }, } function M.config() -- you can create a custom highlight group for the ghost text with the below command. -- change the `highlight` option to `parenhint` if you use this method. vim.api.nvim_exec([[ highlight parenhint guifg='#495659' ]], false) require('paren-hint').setup({ -- Include the opening paren in the ghost text include_paren = true, -- Show ghost text when cursor is anywhere on the line that includes the close paren rather than just when the cursor is on the close paren anywhere_on_line = true, -- show the ghost text when the opening paren is on the same line as the close paren show_same_line_opening = false, -- style of the ghost text using highlight group -- :Telescope highlights to see the available highlight groups if you have telescope installed highlight = 'parenhint', }) end return M