hdima / vim-scripts Goto Github PK
View Code? Open in Web Editor NEWMisc Vim scripts
Misc Vim scripts
Hi guys,
In some of my scripts I have several languages mixed together (like html with included javascript) and I would really love to have some syntax highlighting for those :)
Basically, scripts like these:
# some python code above
query = '''
SELECT something
FROM my_table
'''
As you can probably understand, it would be very useful to hint to Vim what kind of language is contained there.
Not sure what the best syntax would be, but I could live with a modeline-like thing like this:
# some python code above
query = ''' -- vim: set ft=sql:
SELECT something
FROM my_table
'''
Would it be easily possible to add this? I have written some Vim scripts before but only rarely touched the syntax highlighter so I don't really know where to start.
Hi I was curious if you would move your syntax/python.vim to its own project. I would really like to clone it down and use it for my pathogen/vundle setup. But I dont need the other scripts and settings in vim-scripts.
Thanks for making the python.vim syntax script its really awesome!
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.