Skip to content

Latest commit

 

History

History
72 lines (58 loc) · 1.57 KB

README.md

File metadata and controls

72 lines (58 loc) · 1.57 KB

nvim-tcss

A Neovim plugin for Textual CSS (.tcss) syntax highlighting as seen on transcendent-textual.


image

Features

  • 🎨 Full syntax highlighting support 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

Installation

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')
cd ~/.vim/bundle
git clone https://github.com/cachebag/nvim-tcss.git

Configuration

require('tcss').setup({
    -- Enable syntax highlighting (default: true)
    enable = true,
    
    -- Custom color overrides
    colors = {
        -- Add custom highlighting rules here
    }
})