evidens / vim-twig Goto Github PK
View Code? Open in Web Editor NEWTwig syntax highlighting, snipMate, etc.
Twig syntax highlighting, snipMate, etc.
According to the Symfony docs, the convention is to use .html.twig as the filename extension. Unfortunately this doesn't work for me as I don't get any highlighting.
http://symfony.com/doc/current/book/templating.html#template-naming-and-locations
Anyone else having this issue?
.twig.html does work, but breaks the sparkup plugin, and isn't inline with the Symfony naming conventions.
will this work with pathogen?
vim-twig has been working fine, except when I open a new buffer. Then the new file is highlighted correctly, but the original one I was working on gets highlighted differently.
This is also evident in a vsplit scenario, where the text 'instantly' loses it highlighting, and seems to fall back to something else.
The only oddity I can see is that the files open as htmldjango.twig
- but when I try to force them to html.twig
no highlighting works at all.
Hi,
I have just installed your software, but the html tags are not highlighted with a specific color, they are in grey.
I have .twig files.
I noticed one problem today, didn't happen before. When i load file which has .html.twig, syntax highlighting doesnt work properly:
when it's only .twig, it works fine.
Biggest problem in this is that i can't use my html snippets because the filetype doesn't contain html. Do you know what could be the issue here? Thanks.
Hi guys,
I have strange situation, when i installed this plugin i got highlighted lines only for twig, not html.
Is it a bug or feature? :)
thanks
Hi. I added some functionality to this project, and I'm willing to maintain it. You can forward this repo to my fork if that's okay.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.