Skip to content

Conversation

@bennypowers
Copy link

@bennypowers bennypowers commented Jul 4, 2022

What I did

  • add disable_filetypes: string[] option
  • in CursorMoved, skip the rest of the cursorline logic if the filetype matches a disabled one
  • re-enable cursorline when entering a filetype listed in disable_filetypes
  • add a clearing autocmd group

Replaces #10

@bennypowers bennypowers force-pushed the feat/disable-filetype branch from 7a26d41 to ef067d8 Compare July 4, 2022 09:24
@bennypowers bennypowers force-pushed the feat/disable-filetype branch from ef067d8 to 3d4354e Compare July 4, 2022 09:25
cg1937 added a commit to cg1937/nvim-cursorline that referenced this pull request Oct 3, 2024
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