Coder Social home page Coder Social logo

Comments (10)

nagy135 avatar nagy135 commented on June 2, 2024 1

after reading your code, there is no way its fault of this plugin ...will investigate elsewhere

from autoclose.nvim.

ripytide avatar ripytide commented on June 2, 2024

I also have just had this exact problem, deleting lines:

["<BS>"] = {},
["<CR>"] = {},
fixed this for me though, perhaps it's remapping <CR>?

from autoclose.nvim.

gilbh avatar gilbh commented on June 2, 2024

Had a similar conflict with Coc, when <CR> would not work because of this remapping.

Any chance of making the following lines disabled as an option in the configuration?

      ["<BS>"] = {},
      ["<C-H>"] = {},
      ["<C-W>"] = {},
      ["<CR>"] = {},
      ["<S-CR>"] = {},

from autoclose.nvim.

m4xshen avatar m4xshen commented on June 2, 2024

I also have just had this exact problem, deleting lines:

["<BS>"] = {},
["<CR>"] = {},

fixed this for me though, perhaps it's remapping ?

Do you also use coc?

from autoclose.nvim.

ripytide avatar ripytide commented on June 2, 2024

Do you also use coc?

I do not, I use the build-in nvim LSP with nvim-cmp etc..

from autoclose.nvim.

DonnieWest avatar DonnieWest commented on June 2, 2024

I can also confirm autoclose disables the enter key on my computer. Deleting those lines also fixes the problem for me. I also use the build-in LSP w/ nvim-cmp

I'm happy to do any troubleshooting if necessary

from autoclose.nvim.

m4xshen avatar m4xshen commented on June 2, 2024

@DonnieWest could you disable the nvim-cmp and then try whether the enter key works?

from autoclose.nvim.

DonnieWest avatar DonnieWest commented on June 2, 2024

That was my assumption too. Disabling nvim-cmp didn't fix it for me.

FWIW I narrowed it down to this plugin by disabling my plugins in a binary-search like fashion. It was only by disabling this plugin that I solved the problem

from autoclose.nvim.

m4xshen avatar m4xshen commented on June 2, 2024

What's your config options for autoclose.nvim?

from autoclose.nvim.

DonnieWest avatar DonnieWest commented on June 2, 2024

I can replicate the issue by simply calling setup with no config supplied, or the entire default config passed in

from autoclose.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.