33 Commits

Author SHA1 Message Date
Ingo Karkat 8b7e3b628d Release 1.12 2022-11-01 09:02:03 +01:00
Ingo Karkat 26e5b59a3c diff filetype: Exclude patch instructions that just consist of # + single space 2022-01-15 18:06:36 +01:00
Ingo Karkat 386b75ad61 s:DetectAll(): Replace :windo with ingo#window#iterate#All() 2021-06-09 07:53:56 +02:00
Ingo Karkat ad11532a8d Release 1.11 2020-12-21 08:39:59 +01:00
Ingo Karkat 7a6ac4398c Documentation: Mention Neovim patch 2020-12-20 12:10:14 +01:00
Ingo Karkat d399223830 Documentation: Update changelog 2020-12-19 22:35:15 +01:00
Ingo Karkat 51c33feeff Allow to disable the new logic via g:ShowTrailingWhitespace_IsAutomaticBackground configuration flag 2020-12-19 22:31:11 +01:00
Ingo Karkat 40eabd2621 Exempt the "xxd" filetype used e.g. by the Hexman plugin (vimscript #666) 2020-12-19 15:33:28 +01:00
subnut 2b794708a0 Compatibility: Neovim does not have the TerminalOpen event
In neovim, has('patch1596') returns true, but there is no TerminalOpen event. So, it shows an error everytime neovim is launched. This commit aims to fix that

Closes #3
2020-07-13 15:08:45 +02:00
Ingo Karkat 19886c012c Documentation: Release 1.10 2020-07-11 19:52:14 +02:00
Ingo Karkat 1097fbc3a4 Documentation: Add snippet to disable plugin for a filetype, and add introductory paragraph for filtering approaches
Closes #2
2020-07-11 19:49:54 +02:00
Ingo Karkat 72174fd591 FIX: Avoid creating jump when enabling / setting a local extra pattern 2019-02-22 22:12:45 +01:00
Ingo Karkat 1e235a1f43 ENH: Make the default filter also consider session-local and persistent blacklists for files where highlighting should be off
Offer public functions to implement custom commands or mappings for blacklist management.
Document optional dependency to ingo-library, add s:GetFilespec() compatibility shim, and use ingo#buffer#IsPersisted() if we have it.
2019-02-04 17:03:20 +01:00
Ingo Karkat b7a6fa7999 Workaround: Terminal windows are highlighted, even though 'buftype' is set
But too late; the terminal buffer is first created as a normal empty buffer ([No Name], with empty 'buftype'). Only later :setlocal buftype=terminal happens (and the OptionSet event also isn't triggered for it, so we cannot use that to hook into). Fortunately, a separate TerminalOpen event was created.
As the default filter is defined in a separate autoload script, we can simply define the autocmd during sourcing of the script.
2018-12-15 21:51:25 +01:00
Ingo Karkat 69e32349d7 Add Readme and gitignore 2018-12-15 20:51:03 +01:00
Ingo Karkat a197e59989 2018-12-15 20:39:41 +01:00
Ingo Karkat cab8c7bdd2 Documentation: Update changelog
- Exempt the "unite" filetype used by the Unite plugin (vimscript #3396).
  Thanks to Fernando "Firef0x" G.P. da Silva for the patch.
2018-12-15 20:39:39 +01:00
Ingo Karkat f1b7477489 2018-12-15 20:39:39 +01:00
Ingo Karkat dc43067b9f Documentation: ENH: Keep previous (last accessed) window on :windo 2018-12-15 20:39:34 +01:00
Ingo Karkat cdd48f3c3c Documentation: Update changelog
- Make ShowTrailingWhitespace#IsSet() also handle Vim 7.0/1 where the
  g:ShowTrailingWhitespace variable is not set. Return 0 instead of causing a
  function abort.
2018-12-15 20:39:31 +01:00
Ingo Karkat 2601e5419a 2018-12-15 20:39:27 +01:00
Ingo Karkat 8c96b617be 2018-12-15 20:39:19 +01:00
Ingo Karkat 8ef00761c8 Documentation: Update changelog
- Add whitespace exception for the "markdown" filetype.
2018-12-15 20:39:17 +01:00
Ingo Karkat bbe490599f 2018-12-15 20:39:14 +01:00
Ingo Karkat e868259892 Documentation: Add whitespace exception for the "dosbatch" filetype 2018-12-15 20:39:11 +01:00
Ingo Karkat 0aa109fad0 Documentation: Update changelog
- Minor: Also exclude quickfix and help buffers from detection.
2018-12-15 20:39:08 +01:00
Ingo Karkat f371e7e040 2018-12-15 20:39:04 +01:00
Ingo Karkat 6449395594 2018-12-15 20:39:02 +01:00
Ingo Karkat 439eb2e05c 2018-12-15 20:38:55 +01:00
Ingo Karkat 7ae0e10ae0 2018-12-15 20:38:55 +01:00
Ingo Karkat 78573869ef 2018-12-15 20:38:55 +01:00
Ingo Karkat 1efb90ffb2 Documentation: Update changelog 2018-12-15 20:38:20 +01:00
Ingo Karkat 2d52b19ad2 file creation 2018-12-15 20:38:06 +01:00