Skip to content

matthewsimo/angular-vim-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UltiSnip & Snipmate Snippets for AngularJS

This repository contains snippets files for AngularJS including JavaScript, HTML, CoffeeScript and HAML.

Contents

snippets/*: snippets using snipmate format
UltiSnips/*: snippets using UltiSnips format

Installation

UltiSnip

  • git submodule add git@github.com:matthewsimo/angular-vim-snippets.git /path/you/want/it/
  • add ./UltiSnip to your list of g:UltiSnipsSnippetDirectories and you should be set

UltiSnip options

For ngdoc snippets in ultisnips, the module name can be overwritten in case you're using a variable or js expression for your module name. Add this to your modeline or set as needed.

let g:angular_module_name='FooBar' "Replace with your module name, of course.

Snipmate

  • git submodule add git@github.com:matthewsimo/angular-vim-snippets.git /path/you/want/it/
  • add ./snippets to your VIM 'runtimepath' or 'rtp'
    • e.g. rtp/snippets/<filetype>/*.snippets

NeoSnippets

  • git submodule add git@github.com:matthewsimo/angular-vim-snippets.git /path/you/want/it/
  • add ./snippets to g:neosnippet#snippets_directory

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

repo for UltiSnips & Snipmate for angular to be included as a submodule for use in your .vim directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy