Skip to content

Plugin will apply setup if wasn't applied on existing files, added more options.#2

Open
ml-212 wants to merge 2 commits into
soemre:mainfrom
ml-212:main
Open

Plugin will apply setup if wasn't applied on existing files, added more options.#2
ml-212 wants to merge 2 commits into
soemre:mainfrom
ml-212:main

Conversation

@ml-212

@ml-212 ml-212 commented Jun 15, 2026

Copy link
Copy Markdown

Hi, first of all, I'm glad you've made this plugin, there aren't many plugins for folding comments.

I've had some issues with LazyVim due to LazyVim's setup default options, I've managed to make it work with default options.

I have had issue with hiding comments with more buffers, applying setup with function calls fixed this for me, I'm not sure if it was a me problem or LazyVim's defaults.

While working on plugin I've added some options, new options:

  • enable_notifications            > Notify user of language change. (I wasn't sure if plugin does it's job due to LazyVim setup)
  • using_folke_lazyvim_setup > Compatibility with Folke's LazyVim setup.
  • apply_to_new_buffer           > Apply setup to new buffers, and hide/reveal.
  • apply_on_buffer_change    > Apply hide/reveal on every buffer change. I must admit, this might not be the best way for applying setup for already existing buffers, but it does the trick.

ml-212 added 2 commits June 15, 2026 03:40
New options:
* enable_notifications > notify user of language change.
* using_folke_lazyvim_setup > compatibility with Folke's LazyVim
setup.
* apply_to_new_buffer > Apply to newly opened buffers.
* apply_on_buffer_change > Apply hide/reveal on buffer change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant