Skip to content

Commit

Permalink
whitespace: add extra filetypes to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Feb 3, 2025
1 parent 64eff59 commit 3796335
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions modules/nixvim/plugins/whitespace/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,21 @@ in
# TODO: upstream module
extraConfigLua = ''
require('whitespace-nvim').setup({
-- `highlight` configures which highlight is used to display
-- trailing whitespace
highlight = 'DiffDelete',
-- `ignored_filetypes` configures which filetypes to ignore when
-- displaying trailing whitespace
ignored_filetypes = {
'Avante',
'AvanteInput',
'copilot-chat',
'TelescopePrompt',
'Trouble',
'help',
'blink-cmp-documentation',
'blink-cmp-menu',
'blink-cmp-signature',
'dashboard',
'snacks_dashboard',
'ministarter'
'help',
'ministarter',
'snacks_dashboard'
},
ignore_terminal = true,
Expand Down

0 comments on commit 3796335

Please sign in to comment.