cellular-automaton.nvim icon indicating copy to clipboard operation
cellular-automaton.nvim copied to clipboard

Seems to conflict with indentLine plugin

Open ragu-manjegowda opened this issue 2 years ago • 1 comments

Plugin seems to conflict with https://github.com/Yggdroot/indentLine.

  1. It does not let indentLine enable.
  2. Animation starts drawing signs from indentLine plugin.

ragu-manjegowda avatar Feb 02 '23 01:02 ragu-manjegowda

I use indent-blankline.nvim I solved it excluding "nofile" :

  {
    "lukas-reineke/indent-blankline.nvim",
    config = function() 
      require("indent_blankline").setup{
        buftype_exclude = { "terminal", "nofile" },
        filetype_exclude = { "dashboard","mason" },
      } end,
  },

I'm not sure how it would work on indentline. I checked the repo and perhaps you can try something like this

let g:indentLine_bufTypeExclude = get(g:, 'indentLine_bufTypeExclude', ['nofile'])

if you are using a mapping then you could execute two commands, one to begin or stop the animation and the other to toggle indentline.

AB10110F avatar Apr 29 '23 18:04 AB10110F