mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 10:37:00 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			873 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			873 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Project wide builtins
 | |
| let $PYFLAKES_BUILTINS = "_,dynamic_property,__,P,I,lopen,icu_lower,icu_upper,icu_title,ngettext"
 | |
| 
 | |
| " Include directories for C++ modules
 | |
| let g:syntastic_cpp_include_dirs = [ 
 | |
|             \'/usr/include/podofo', 
 | |
|             \'/usr/include/qt4/QtCore', 
 | |
|             \'/usr/include/qt4/QtGui', 
 | |
|             \'/usr/include/qt4',
 | |
|             \'src/qtcurve/common', 'src/qtcurve',
 | |
|             \'/usr/include/ImageMagick',
 | |
|             \]
 | |
| let g:syntastic_c_include_dirs = g:syntastic_cpp_include_dirs
 | |
| 
 | |
| fun! CalibreLog()
 | |
|     " Setup buffers to edit the calibre changelog and version info prior to
 | |
|     " making a release.
 | |
|     enew
 | |
|     read ! bzr log -l 500
 | |
|     setl nomodifiable noswapfile buftype=nofile
 | |
|     edit Changelog.yaml
 | |
|     edit src/calibre/constants.py
 | |
| endfun
 | |
| 
 | |
| nnoremap \log :call CalibreLog()<CR>
 | |
| 
 | |
| python import init_calibre
 | |
| python import calibre
 |