nvim-autopairs icon indicating copy to clipboard operation
nvim-autopairs copied to clipboard

some problem in > of C

Open NEX-S opened this issue 2 years ago • 0 comments

Description

when i programming in C, I've found that once I enter include, the cmp gives me a hint include

, after I confirm select and write the .h file that i want, i can't just use > to go to the next position... for example: | is my cursour position, i want to hit > in include <stdio.h|>, and got include <stdio.h>| in " circumstances, every things seems to be fine... include "test.h|" and hit ", include "test.h"| is this autotag problem? i dont know how to fix this small problem :(

Mapping bug

1.If you report a bug about indent. Please remember that plugin doesn't do anything about indent. It just trigger the indent of your vim config so if you have wrong indent config then it will do wrong indent. You can check by select a block of code and press == 2. provide result of command :verbose imap <cr>.

Steps to reproduce

No response

Minimal config

require "nvim-autopairs".setup {
                    disable_filetype = { 'TelescopePrompt' },
                    disable_in_macro = true,
                    disable_in_visualblock = true,
                    enalbe_moveright = true,
                    enable_afterquote = true,  -- add bracket pairs after quote
                    enable_check_bracket_line = true,  --- check bracket in same line
                    enable_bracket_in_quote = true, --
                    break_undo = true, -- switch for basic rule break undo sequence
                    check_ts = false,
                    map_cr = true,
                    map_bs = true,  -- map the <BS> key
                    map_c_h = false,  -- Map the <C-h> key to delete a pair
                    map_c_w = true, -- map <c-w> to delete a pair if possible
                }

NEX-S avatar Jul 22 '22 11:07 NEX-S