A Neovim plugin for Textual CSS (.tcss) syntax highlighting as seen on transcendent-textual.
- 🎨 Full syntax highlighting for .tcss files
- 🌈 Support for ANSI and web colors
- 📐 Proper highlighting of Textual-specific properties
- 💫 Variable highlighting
- 🔧 Function support (rgb, rgba, hsl, hsla)
- 🔍 Automatic file type detection
Using packer.nvim
use {
'cachebag/nvim-tcss',
config = function()
require('tcss').setup()
end
}
Using lazy.nvim
{
'cachebag/nvim-tcss',
config = true
}
Using vim-plug
Plug 'cachebag/nvim-tcss'
" After installation, in your init.vim/init.lua:
lua require('tcss').setup()
Using dein.vim
call dein#add('cachebag/nvim-tcss')
Using minpac
call minpac#add('cachebag/nvim-tcss')
Using vim-pathogen
cd ~/.vim/bundle
git clone https://github.com/cachebag/nvim-tcss.git
require('tcss').setup({
-- Enable syntax highlighting (default: true)
enable = true,
-- Custom color overrides
colors = {
-- Add custom highlighting rules here
}
})