All Projects → nelsyeung → twig.vim

nelsyeung / twig.vim

Licence: MIT license
Twig syntax highlighting, indentation, neocomplete and UltiSnips snippets in Vim

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to twig.vim

Symfony-code-snippets
Over 100 Symfony Code Snippets for PhP code And Over 80 Twig Code Snippets. Just type the letters 'sf' to get a list of all available Symfony Code Snippets. For Twig Just Type the Tag name and you will get AutoCompletion.
Stars: ✭ 15 (-50%)
Mutual labels:  snippets, twig
django-addendum
📜 Easily edit arbitrary text snippets on a site without a full-fledged CMS or issuing another site release. Like a mini-CMS for every site.
Stars: ✭ 71 (+136.67%)
Mutual labels:  snippets
Code Snippets
Code Snippets WordPress Plugin
Stars: ✭ 226 (+653.33%)
Mutual labels:  snippets
Gowebexamples
Go Web Examples Generator
Stars: ✭ 252 (+740%)
Mutual labels:  snippets
30 Seconds Of Css
Short CSS code snippets for all your development needs
Stars: ✭ 14,945 (+49716.67%)
Mutual labels:  snippets
30 Seconds Of Code
Short JavaScript code snippets for all your development needs
Stars: ✭ 89,121 (+296970%)
Mutual labels:  snippets
30 Seconds Of Angular
[WIP] Curated collection of Angular snippets that you can understand in 30 seconds or less
Stars: ✭ 221 (+636.67%)
Mutual labels:  snippets
pipet
Personal snippet manager, store bits of text.
Stars: ✭ 21 (-30%)
Mutual labels:  snippets
symfony-hybrid-flex-port
A port of the Hybrid application to Symfony Flex
Stars: ✭ 28 (-6.67%)
Mutual labels:  twig
Cookbook
Code snippets for various programming languages and libraries
Stars: ✭ 245 (+716.67%)
Mutual labels:  snippets
Vscode Restructuredtext
reStructuredText Language Support in Visual Studio Code
Stars: ✭ 243 (+710%)
Mutual labels:  snippets
Wenyan Lang Vscode
文言 Wenyan Lang for VS Code
Stars: ✭ 234 (+680%)
Mutual labels:  snippets
snippets
Short (but useful) scripts and programs.
Stars: ✭ 31 (+3.33%)
Mutual labels:  snippets
30 Seconds Of Kotlin
Kotlin snippets that you can understand quickly, using only stdlib functionality.
Stars: ✭ 226 (+653.33%)
Mutual labels:  snippets
vim-snipp-snapp-snut-and-the-legend-continues
💇 (Experimental) Vim snippet plugin
Stars: ✭ 24 (-20%)
Mutual labels:  snippets
Sublimetmpl
Create File From Templates for SublimeText 2 / SublimeText 3
Stars: ✭ 222 (+640%)
Mutual labels:  snippets
Web
A free, open-source, and completely encrypted notes app. https://standardnotes.com
Stars: ✭ 3,061 (+10103.33%)
Mutual labels:  snippets
Java Design Patterns
Design patterns implemented in Java
Stars: ✭ 71,923 (+239643.33%)
Mutual labels:  snippets
middleman-snippets
⚡ Library of commonly used snippets for Middleman websites
Stars: ✭ 27 (-10%)
Mutual labels:  snippets
vscode-extension
Link your code and commits to a video recording and explain your code with video.
Stars: ✭ 67 (+123.33%)
Mutual labels:  snippets

Twig.vim

Twig syntax highlighting, indentation, neocomplete and UltiSnips snippets in Vim

Installation

To install twig.vim and other Vim plug-ins it is recommended to use one of the popular package managers for Vim, rather than installing by drag and drop all required files into your .vim folder.

Neobundle (recommended)

  1. Setup the neobundle package manager

  2. Set the bundles for twig.vim

    NeoBundle 'nelsyeung/twig.vim'
  3. Open up Vim and start installation with :NeoBundleInstall

Vundle

  1. Setup the vundle package manager

  2. Set the bundles for twig.vim

    Plugin 'nelsyeung/twig.vim'
  3. Open up Vim and start installation with :PluginInstall

Manual (not recommended)

  1. Download the twig.vim files
  2. Put files in your Vim directory (usually ~/.vim/ or %PROGRAMFILES%/Vim/vimfiles on Windows)

Snippets

This package does not include the old snipMate snippets in favour of Neosnippet. Follow the instructions on their page to get snippets working. Although a neosnippet-snippets have the snippets from this package, it might not be the latest version. To have the latest snippets working, you can add to your .vimrc

let g:neosnippet#snippets_directory='~/.vim/bundle/twig.vim/neosnippets'

Todo

  • Better filetype detection. Detect html.twig, js.twig differently. This will need to change both ftdetect and indent files.
  • More useful snippets.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].