minor fixes

This commit is contained in:
doyle 2022-05-20 14:52:23 +10:00
parent 0bd220d83e
commit 14731c0d25
2 changed files with 27 additions and 39 deletions

View File

@ -105,14 +105,13 @@ let g:gruvbox_italic=0
let g:gruvbox_bold=0 let g:gruvbox_bold=0
colorscheme gruvbox colorscheme gruvbox
if has("gui_running")
" NOTE(doyle): Some list chars in gui don't show correctly in terminal so separate logic " NOTE(doyle): Some list chars in gui don't show correctly in terminal so separate logic
" old listchars=tab:>-,eol:¬,trail:■,extends:»,precedes:« " old listchars=tab:>-,eol:¬,trail:■,extends:»,precedes:«
set listchars+=trail:■,extends:»,precedes:« set listchars+=trail:■,extends:»,precedes:«
if s:running_windows if s:running_windows
set guifont=JetBrains_Mono:h9,Consolas:h11 set guifont=JetBrains_Mono:h9,Consolas:h9
else else
set guifont=InputMonoCondensed:h10 set guifont=InputMonoCondensed:h9
endif endif
" Don't show trailing spaces in insert mode " Don't show trailing spaces in insert mode
@ -135,18 +134,6 @@ if has("gui_running")
\ '\=eval(submatch(0)-1)', \ '\=eval(submatch(0)-1)',
\ 'g')<CR> \ 'g')<CR>
else
set t_Co=256 " 256 colors
let &t_AB="\e[48;5;%dm" " vodoo magic for CONEMU
let &t_AF="\e[38;5;%dm" " vodoo magic for CONEMU
set listchars+=trail:$,extends:>,precedes:<
" Fix Cmder backspace bug
inoremap <Char-0x07F> <BS>
nnoremap <Char-0x07F> <BS>
endif
" Formatting options (see :h fo-table) " Formatting options (see :h fo-table)
augroup persistent_settings augroup persistent_settings
au! au!

View File

@ -582,6 +582,7 @@ if not exist "!nvim_exe!" (
call :FileHashCheck sha256 "!nvim_exe!" "!nvim_exe_sha256!" || exit /B call :FileHashCheck sha256 "!nvim_exe!" "!nvim_exe_sha256!" || exit /B
call :MakeBatchShortcutInBinDir "nvim" "!nvim_exe!" call :MakeBatchShortcutInBinDir "nvim" "!nvim_exe!"
call :MakeBatchShortcutInBinDir "nvim-qt" "!nvim_dir!\bin\nvim-qt.exe"
REM ---------------------------------------------------------------------------- REM ----------------------------------------------------------------------------
REM Neovide REM Neovide