Git Product home page Git Product logo

vim-scripts's People

Contributors

hdima avatar inkarkat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vim-scripts's Issues

Move syntax/python.vim to own project?

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!

Specifying `filetype` for strings in Python?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.