{"id":15733008,"url":"https://github.com/airblade/vim-tcs","last_synced_at":"2026-05-03T16:31:58.147Z","repository":{"id":66514511,"uuid":"593238491","full_name":"airblade/vim-tcs","owner":"airblade","description":"Integrates tcs (Tailwind class sorter) with Vim","archived":false,"fork":false,"pushed_at":"2023-04-20T10:33:33.000Z","size":6,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T03:44:02.990Z","etag":null,"topics":["tailwindcss","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/airblade.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-25T15:00:44.000Z","updated_at":"2025-02-06T11:12:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"b32e0aed-e872-414a-956c-0c16ec64866a","html_url":"https://github.com/airblade/vim-tcs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/airblade/vim-tcs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblade%2Fvim-tcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblade%2Fvim-tcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblade%2Fvim-tcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblade%2Fvim-tcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/airblade","download_url":"https://codeload.github.com/airblade/vim-tcs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblade%2Fvim-tcs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tailwindcss","vim","vim-plugin"],"created_at":"2024-10-04T00:40:34.564Z","updated_at":"2026-05-03T16:31:58.130Z","avatar_url":"https://github.com/airblade.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tcs-vim\n\nIntegrates [tcs](https://github.com/airblade/tcs) (Tailwind class sorter) with Vim.\n\nWhenever you write an HTML file, the plugin waits for the Tailwind build process to finish and then runs the HTML through `tcs`.\n\n\n## Installation\n\nInstall `tcs` somewhere on your `PATH`.\n\nInstall this plugin like every other vim plugin :)\n\nSet `g:tcs_css` to point to the CSS file which Tailwind CLI generates.\n\nI have this snippet in my vimrc:\n\n```vim\nfunction! s:is_tailwind()\n  return !empty(findfile('tailwind.config.js', '.;')) ||\n       \\ !empty(findfile('config/tailwind.config.js', '.;'))\nendfunction\n\nautocmd BufEnter *.html,*.slim if s:is_tailwind() |\n      \\   setlocal autoread |\n      \\ endif\nautocmd BufWritePost *.html,*.slim if s:is_tailwind() |\n      \\   call TcsAsync() |\n      \\ endif\n```\n\n\n## Configuration\n\n`g:tcs_executable` - path to the `tcs` script.  Default: `'tcs'`.\n\n`g:tcs_delay_ms` - how long to wait in milliseconds for Tailwind's build to finish after saving an HTML file.  Default: `250`.\n\nTailwind doesn't touch the output CSS file if there is no change to the CSS, in which case there's no way to detect the build has finished.  Instead we just give it time to finish.\n\n`g:tcs_css` - path to Tailwind's output CSS file.  This needs to be set.\n\n`g:tcs_sticky_cursor` - whether the cursor should stick to any Tailwind class it's on if the class is moved to a different spot.  Default: `v:true`.\n\n\n## Intellectual property\n\nCopyright Andrew Stewart.  Released under the MIT licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairblade%2Fvim-tcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairblade%2Fvim-tcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairblade%2Fvim-tcs/lists"}