@ -99,10 +99,10 @@ self: super: {
# The linked ruby code shows generates the required '.clang_complete' for cmake based projects
# https://gist.github.com/Mic92/135e83803ed29162817fce4098dec144
preFixup = ''
substituteInPlace " $ o u t " /share/vim-plugins/clang_complete/ plugin/clang_complete.vim \
substituteInPlace " $ o u t " /plugin/clang_complete.vim \
- - replace " l e t g : c l a n g _ l i b r a r y _ p a t h = ' ' + " '' " + '' " " let g:clang_library_path='$ { llvmPackages . libclang . lib } /lib/libclang.so ' "
substituteInPlace " $ o u t " /share/vim-plugins/clang_complete/ plugin/libclang.py \
substituteInPlace " $ o u t " /plugin/libclang.py \
- - replace " / u s r / l i b / c l a n g " " ${ llvmPackages . clang . cc } / l i b / c l a n g "
'' ;
} ) ;
@ -110,7 +110,7 @@ self: super: {
clighter8 = super . clighter8 . overrideAttrs ( old : {
preFixup = ''
sed " / ^ l e t g : c l i g h t e r 8 _ l i b c l a n g _ p a t h / s | ' ) $ | ${ llvmPackages . clang . cc . lib } / l i b / l i b c l a n g . s o ' ) | " \
- i " $ o u t " /share/vim-plugins/clighter8/ plugin/clighter8.vim
- i " $ o u t " /plugin/clighter8.vim
'' ;
} ) ;
@ -203,7 +203,7 @@ self: super: {
direnv-vim = super . direnv-vim . overrideAttrs ( oa : {
preFixup = oa . preFixup or " " + ''
substituteInPlace $ out/share/vim-plugins/direnv.vim/ autoload/direnv.vim \
substituteInPlace $ out/autoload/direnv.vim \
- - replace " l e t s : d i r e n v _ c m d = g e t ( g : , ' d i r e n v _ c m d ' , ' d i r e n v ' ) " \
" l e t s : d i r e n v _ c m d = g e t ( g : , ' d i r e n v _ c m d ' , ' ${ lib . getBin direnv } / b i n / d i r e n v ' ) "
'' ;
@ -354,7 +354,7 @@ self: super: {
propagatedBuildInputs = [ LanguageClient-neovim-bin ] ;
preFixup = ''
substituteInPlace " $ o u t " /share/vim-plugins/LanguageClient-neovim/ autoload/LanguageClient.vim \
substituteInPlace " $ o u t " /autoload/LanguageClient.vim \
- - replace " l e t l : p a t h = s : r o o t . ' / b i n / ' " " l e t l : p a t h = ' ${ LanguageClient-neovim-bin } ' . ' / b i n / ' "
'' ;
} ;
@ -387,9 +387,9 @@ self: super: {
minimap-vim = super . minimap-vim . overrideAttrs ( old : {
preFixup = ''
substituteInPlace $ out/share/vim-plugins/minimap.vim/ plugin/minimap.vim \
substituteInPlace $ out/plugin/minimap.vim \
- - replace " c o d e - m i n i m a p " " ${ code-minimap } / b i n / c o d e - m i n i m a p "
substituteInPlace $ out/share/vim-plugins/minimap.vim/ bin/minimap_generator.sh \
substituteInPlace $ out/bin/minimap_generator.sh \
- - replace " c o d e - m i n i m a p " " ${ code-minimap } / b i n / c o d e - m i n i m a p "
'' ;
} ) ;
@ -691,7 +691,7 @@ self: super: {
vim-dasht = super . vim-dasht . overrideAttrs ( old : {
preFixup = ''
substituteInPlace $ out/share/vim-plugins/vim-dasht/ autoload/dasht.vim \
substituteInPlace $ out/autoload/dasht.vim \
- - replace " [ ' d a s h t ' ] " " [ ' ${ dasht } / b i n / d a s h t ' ] "
'' ;
} ) ;
@ -795,7 +795,7 @@ self: super: {
in
super . vim-markdown-composer . overrideAttrs ( oldAttrs : rec {
preFixup = ''
substituteInPlace " $ o u t " /share/vim-plugins/vim-markdown-composer/ after/ftplugin/markdown/composer.vim \
substituteInPlace " $ o u t " /after/ftplugin/markdown/composer.vim \
- - replace " l e t l : a r g s = [ s : p l u g i n _ r o o t . ' / t a r g e t / r e l e a s e / m a r k d o w n - c o m p o s e r ' ] " \
" l e t l : a r g s = [ ' ${ vim-markdown-composer-bin } / b i n / m a r k d o w n - c o m p o s e r ' ] "
'' ;