Refactor Paper Tonic Modern colorscheme and enhance semantic highlighting

- Updated highlights.scm to improve CSS, HTML, and data attribute captures with higher priority.
- Added a new Lua function to display highlight group and color information under the cursor.
- Expanded editor, semantic, syntax, and TreeSitter highlight groups for better visual consistency across languages.
- Created test files for PHP, HTML, CSS, and Lua to validate syntax highlighting.
- Implemented a shell script to test semantic highlights in a Neovim session.
- Simplified colorscheme loading process by removing unnecessary plugin specifications.
This commit is contained in:
Ray Elliott 2025-12-11 21:47:27 +00:00
commit 3ad385e285
16 changed files with 1121 additions and 63 deletions

View file

@ -1,13 +1,10 @@
-- Paper Tonic colorscheme
-- Local plugin via symlink
-- Paper Tonic Modern colorscheme
-- Built into this config at colors/paper-tonic-modern.lua
-- No plugin spec needed - just set the colorscheme
-- Set colorscheme directly without lazy.nvim
vim.cmd.colorscheme('paper-tonic-modern')
-- Return empty table so lazy.nvim doesn't complain
return {}
return {
{
dir = vim.fn.expand('~/.config/nvim/paper-tonic'),
lazy = false, -- Load immediately on startup
priority = 1000, -- Load before other plugins
config = function()
vim.cmd.colorscheme('paper-tonic')
end,
},
}