nvim/test-semantic-highlights.sh

6 lines
275 B
Bash

#!/bin/bash
# Test semantic highlights in a real Neovim session
# This will open test-html.html and check if custom captures are applied
nvim test-html.html -c "normal! 15Gf\"" -c "lua vim.defer_fn(function() vim.cmd('normal! \\<leader>hi'); vim.cmd('quitall!'); end, 500)"