c66431cde3
Drop-in script that dumps the syntax/highlight state of the current buffer to /tmp/nuwiki-syndiag.log: filetype, b:current_syntax, every syntax/vimwiki.vim found in &runtimepath (to spot duplicates from other plugins), the resolved attributes of our highlight groups + the colorscheme groups they link to, a per-segment synID walk over the buffer, and the filtered scriptnames list. Useful when a user reports broken highlighting and we need to know whether the patterns aren't matching, the colorscheme is the culprit, or another plugin's syntax/vimwiki.vim is winning the runtimepath race. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>