nicer onboarding experience with Vim

Thanks Sumeet Agarwal (https://github.com/sumeet) for helping catch this.
This commit is contained in:
Kartik K. Agaram 2021-06-06 15:27:27 -07:00
parent 1116288871
commit c5983ab3cc
2 changed files with 20 additions and 14 deletions

View File

@ -9,8 +9,10 @@
" autocmd BufReadPost,BufNewFile *.mu set filetype=mu " autocmd BufReadPost,BufNewFile *.mu set filetype=mu
" "
" Some highlight groups you might want to select colors for in your vimrc: " Some highlight groups you might want to select colors for in your vimrc:
" muFunction highlight link CommentedCode Comment
" muTest highlight link SalientComment Comment
highlight link muFunction Identifier
highlight link muTest Identifier
let s:save_cpo = &cpo let s:save_cpo = &cpo
set cpo&vim set cpo&vim

View File

@ -7,15 +7,19 @@
" Copy this file into your ftplugin directory, and add the following to your " Copy this file into your ftplugin directory, and add the following to your
" vimrc or to .vim/ftdetect/subx.vim: " vimrc or to .vim/ftdetect/subx.vim:
" autocmd BufReadPost,BufNewFile *.subx set filetype=subx " autocmd BufReadPost,BufNewFile *.subx set filetype=subx
"
" Some highlight groups you might want to select colors for in your vimrc: " Some highlight groups you might want to select colors for in your vimrc:
" subxFunction highlight link CommentedCode Comment
" subxMinorFunction highlight link SalientComment Comment
" subxTest highlight link subxFunction Identifier
" highlight link subxMinorFunction Identifier
" Optionally, devote more colors to different kinds of comments. Some suggestions highlight link subxTest Identifier
" for 256-color terminals to add to your vimrc: highlight link subxH1Comment Comment
" blue tones: highlight link subxComment Comment
highlight link subxS1Comment Comment
highlight link subxS2Comment Comment
" Some suggestions for 256-color terminals to add to your vimrc:
" blue tones
" highlight subxH1Comment cterm=underline ctermfg=27 " highlight subxH1Comment cterm=underline ctermfg=27
" highlight subxComment ctermfg=27 " highlight subxComment ctermfg=27
" highlight subxS1Comment ctermfg=19 " highlight subxS1Comment ctermfg=19
@ -26,10 +30,10 @@
" highlight subxS1Comment ctermfg=19 " highlight subxS1Comment ctermfg=19
" highlight subxS2Comment ctermfg=245 " highlight subxS2Comment ctermfg=245
" grey tones " grey tones
" highlight subxH1Comment cterm=bold,underline " highlight subxH1Comment cterm=bold,underline
" highlight subxComment cterm=bold ctermfg=236 " highlight subxComment cterm=bold ctermfg=236
" highlight subxS1Comment cterm=bold ctermfg=242 " highlight subxS1Comment cterm=bold ctermfg=242
" highlight subxS2Comment ctermfg=242 " highlight subxS2Comment ctermfg=242
let s:save_cpo = &cpo let s:save_cpo = &cpo
set cpo&vim set cpo&vim