nvim-treesitter-context icon indicating copy to clipboard operation
nvim-treesitter-context copied to clipboard

feat: extmarks copy filtering support

Open nowaylifer opened this issue 1 year ago • 0 comments

Callback to filter out extmarks that should not be copied over. Adding this because I needed a way to hide indent-blankline in context window.

{
    "nvim-treesitter/nvim-treesitter-context",
    opts = {
        filter_extmarks = function(extmark)
          return extmark[4].ns_id ~= vim.api.nvim_get_namespaces()["indent_blankline"]
        end
      }
  },

nowaylifer avatar Oct 15 '24 15:10 nowaylifer