Browse files

snippets for lua & align pattern definition

  • Loading branch information...
1 parent 75de21d commit 3fd7d825fe15d951602447886d1af558fdcb9cb1 @lilydjwg committed Aug 16, 2012
Showing with 5 additions and 0 deletions.
  1. +4 −0 snippets/lua.snippets
  2. +1 −0 vimrc
View
4 snippets/lua.snippets
@@ -1,2 +1,6 @@
+snippet .
+ self.
+snippet :
+ self:
snippet #!
#!/usr/bin/env lua
View
1 vimrc
@@ -883,6 +883,7 @@ let g:Align_xstrlen = 3
let g:Myalign_def = {
\ 'css': ['WP0p1l:', ':\@<=', 'v \v^\s*/\*|\{|\}'],
\ 'comma': ['WP0p1l:', ',\@<=', 'g ,'],
+ \ 'colon': ['WP0p1l:', ':\@<=', 'g ,'],
\ 'commalist': ['WP0p1l', ',\@<=', 'g ,'],
\ 'define': ['WP0p1l:', ' \d\@=', 'g ^#define\s'],
\ }

0 comments on commit 3fd7d82

Please sign in to comment.