Permalink
Browse files

add sass support. Document that some refactoring could take place in …

…the future
  • Loading branch information...
1 parent 33dec26 commit bbffc83a4e6a1297c56bb3089c40d43b608727ca @MarcWeber committed Jul 17, 2011
Showing with 8 additions and 0 deletions.
  1. +5 −0 doc/vim-addon-actions.txt
  2. +3 −0 plugin/actions.vim
@@ -63,6 +63,11 @@ CUSTOMIZATION~
-----------------------------------------------------------------------
+BUGS~
+autoload/actions.vim contains too much code - more than is used for setting it
+up. It should define AddAction and actions#Bind only.
+
+-----------------------------------------------------------------------
related work:
SingleCompile : Let user compile or run a single source file conveniently
View
@@ -29,6 +29,9 @@ call actions#AddAction('run php background', {'action': funcref#Function('action
call actions#AddAction('run python background', {'action': funcref#Function('actions_more#RunPythonRHS', {'args': [1]})})
call actions#AddAction('run python using make', {'action': funcref#Function('actions_more#RunPythonRHS', {'args': [0]})})
+
+call actions#AddAction('sass', {'action': funcref#Function('actions#CompileRHSSimple', {'args': [[], ["sass", funcref#Function('return expand("%")'), funcref#Function('return expand("%:r:t").".css"')]]})})
+
" scala see addon vim-addon-scala
" haxe see addon vim-haxe
"

0 comments on commit bbffc83

Please sign in to comment.