Skip to content

cachebag/nvim-tcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-tcss

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


image

Features

  • 🎨 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

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
    }
})