🌐 Web Extra
For ft_transcendence: TypeScript/JavaScript, HTML, CSS and Tailwind.
Enabling
Select lang.web in :FtVimExtras or add:
{ import = "ftvim.plugins.extras.lang.web" },
Features
| Feature | Tool |
|---|---|
| TypeScript / JavaScript | vtsls |
| Linting | eslint language server |
| HTML, CSS, JSON | html, cssls and jsonls language servers |
| Tailwind CSS class completion | tailwindcss language server |
Formatting (<leader>cf) | prettierd (or prettier) |
| Syntax highlighting | treesitter javascript, typescript, tsx, html and css parsers |
Everything is installed automatically with Mason. Enable format on save with <leader>uf.