m4xshen/autoclose.nvim

disable ` in verilog files

Closed this issue · 3 comments

            require("autoclose"):setup({
                keys = {
                    ["`"] = { escape = false, close = false, pair = "``", disabled_filetypes = { "verilog" } },
                },
            })

The configuration does not take effect.

If you want to enable `` pair in all filetypes except the verilog file, you should set the close to true:

keys = {
    ["`"] = { escape = false, close = true, pair = "``", disabled_filetypes = { "verilog" } },
},

Is this your problem?

@m4xshen The configuration you give does not take effect too.

Could you please describe what's the current effect and also your expected effect?