marks.nvim icon indicating copy to clipboard operation
marks.nvim copied to clipboard

Ignore Terminal Windows

Open prdanelli opened this issue 3 years ago • 1 comments

Hello, I'm having an issue with Rnvim which, I believe, uses the terminal. When marks is enabled, it seems to add a mark to the window:

image

Do you know if there is a way to exclude the internal terminal windows? I tried looking for a filetype to exclude, but there doesn't seem to be one.

prdanelli avatar Jan 01 '22 18:01 prdanelli

The first option would be to set the excluded_filetypes key in the setup function. You can check the ft of the current buffer by running :echo &ft. If that doesn’t work, then you might have to set up an autocommand and manually toggle the buffer signs via :MarksToggleSigns. Check the documentation for more info.

chentoast avatar Jan 04 '22 19:01 chentoast