summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nvim/init.vim
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-12-13 16:26:57 -0800
committerxyz <gky44px1999@gmail.com>2021-12-13 16:26:57 -0800
commitb5be445b1b0758442b1ea98a4d8347542e0fc9ec (patch)
treeb69983fea984ebe9c8bbd879066b77ef8aac982f /home/xyz/.config/nvim/init.vim
parent4829a4bca26ba75c609a0a705102072c1c0e4155 (diff)
inti.vim, no win32 now
Diffstat (limited to 'home/xyz/.config/nvim/init.vim')
-rw-r--r--home/xyz/.config/nvim/init.vim16
1 files changed, 8 insertions, 8 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 5807ab88..a9ff13c6 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -95,14 +95,14 @@ set fileencodings=ucs-bom,utf-8,utf-16,gbk,big5,gb18030,latin1
set encoding=utf-8
" some file on win10 display as unix but is dos
-if has('win32')
- set fileformats=dos
- " windows 10 bug, need this to change cursor back to vertical bar after leaving neovim
- " the number after ver seems no effects, maybe because neovim is exited
- " https://github.com/alacritty/alacritty/issues/2839#issuecomment-766421840
- " use of ! after autocmd see youtube video above, not fully understood
- autocmd! VimLeave * set guicursor=a:ver25
-endif
+"if has('win32')
+" set fileformats=dos
+" " windows 10 bug, need this to change cursor back to vertical bar after leaving neovim
+" " the number after ver seems no effects, maybe because neovim is exited
+" " https://github.com/alacritty/alacritty/issues/2839#issuecomment-766421840
+" " use of ! after autocmd see youtube video above, not fully understood
+" autocmd! VimLeave * set guicursor=a:ver25
+"endif
" don't generate those three types of files
set nobackup