| 
									
										
										
										
											2008-07-13 17:41:49 +00:00
										 |  |  | " Vim filetype plugin | 
					
						
							| 
									
										
										
										
											2010-07-26 22:21:27 +02:00
										 |  |  | " Language:	Sass | 
					
						
							|  |  |  | " Maintainer:	Tim Pope <vimNOSPAM@tpope.org> | 
					
						
							|  |  |  | " Last Change:	2010 Jul 26 | 
					
						
							| 
									
										
										
										
											2008-07-13 17:41:49 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Only do this when not done yet for this buffer | 
					
						
							|  |  |  | if exists("b:did_ftplugin") | 
					
						
							|  |  |  |   finish | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | let b:did_ftplugin = 1 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-07-26 22:21:27 +02:00
										 |  |  | let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<" | 
					
						
							| 
									
										
										
										
											2008-07-13 17:41:49 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | setlocal commentstring=//\ %s | 
					
						
							| 
									
										
										
										
											2010-07-26 22:21:27 +02:00
										 |  |  | setlocal define=^\\s*\\%(@mixin\\\|=\\) | 
					
						
							|  |  |  | setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','') | 
					
						
							| 
									
										
										
										
											2008-07-13 17:41:49 +00:00
										 |  |  | setlocal omnifunc=csscomplete#CompleteCSS | 
					
						
							| 
									
										
										
										
											2010-07-26 22:21:27 +02:00
										 |  |  | setlocal suffixesadd=.sass,.scss,.css | 
					
						
							| 
									
										
										
										
											2008-07-13 17:41:49 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-07-26 22:21:27 +02:00
										 |  |  | let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\=' | 
					
						
							| 
									
										
										
										
											2008-07-13 17:41:49 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " vim:set sw=2: |