chentoast / marks.nvim

A better user experience for viewing and interacting with Vim marks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore Terminal Windows

prdanelli opened this issue · 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.

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.