This commit is contained in:
Thorn Avery 2021-04-09 13:53:59 +12:00
parent 6083f04193
commit 5f5c73e057
2 changed files with 26 additions and 4 deletions

View File

@ -10,7 +10,7 @@
};
rainbow-vim-src = {
url = "github:junegunn/rainbow_parentheses.vim";
url = "github:kien/rainbow_parentheses.vim";
flake = false;
};
vim-racket-src = {

View File

@ -42,12 +42,34 @@ customPlugins: self: super: {
set backspace=eol,indent,start
set tabstop=2 softtabstop=2 expandtab shiftwidth=2 smarttab
let g:rainbow_active = 1
let g:rainbow_ctermfgs = [ 'lightblue', 'lightgreen', 'yellow', 'red', 'magenta']
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces
let g:rbpt_colorpairs = [
\ ['brown', 'RoyalBlue3'],
\ ['Darkblue', 'SeaGreen3'],
\ ['darkgray', 'DarkOrchid3'],
\ ['darkgreen', 'firebrick3'],
\ ['darkcyan', 'RoyalBlue3'],
\ ['darkred', 'SeaGreen3'],
\ ['darkmagenta', 'DarkOrchid3'],
\ ['brown', 'firebrick3'],
\ ['gray', 'RoyalBlue3'],
\ ['black', 'SeaGreen3'],
\ ['darkmagenta', 'DarkOrchid3'],
\ ['Darkblue', 'firebrick3'],
\ ['darkgreen', 'RoyalBlue3'],
\ ['darkcyan', 'SeaGreen3'],
\ ['darkred', 'DarkOrchid3'],
\ ['red', 'firebrick3'],
\ ]
imap <C-L> λ
syntax on
colorscheme default
'';
};
};