aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-04-27 00:17:07 +0800
committerjdhao <jdhao@hotmail.com>2019-04-27 00:17:07 +0800
commit68c2b6d012c5d9450171c7208b333e1eb694052b (patch)
tree8a8afb7357c34f0101292878834489c59da119db
parentdeb3266920148cb9c0715e5d7225d3df6a9f318e (diff)
Change neovim config
-rw-r--r--ginit.vim15
-rw-r--r--init.vim15
2 files changed, 17 insertions, 13 deletions
diff --git a/ginit.vim b/ginit.vim
index ddf7fd1..3481a50 100644
--- a/ginit.vim
+++ b/ginit.vim
@@ -1,12 +1,13 @@
-" call GuiWindowMaximized(1)
-GuiPopupmenu 0
-GuiTabline 0
-GuiLinespace 1
-GuiFont! Hack:h10:l
-
-" to check if gui is running, use `exists('g:GuiLoaded')`,
+" to check if neovim-qt is running, use `exists('g:GuiLoaded')`,
" see https://github.com/equalsraf/neovim-qt/issues/219
if exists('g:GuiLoaded')
+ " call GuiWindowMaximized(1)
+ GuiPopupmenu 0
+ GuiTabline 0
+ GuiLinespace 3
+ GuiFont! Hack:h10:l
+ " GuiFont! Microsoft\ YaHei\ Mono:h10:l
+
" use shift+insert for paste in neovim-qt
" see https://github.com/equalsraf/neovim-qt/issues/327#issuecomment-325660764
imap <silent> <S-Insert> <C-R>+
diff --git a/init.vim b/init.vim
index 892d8c3..5269074 100644
--- a/init.vim
+++ b/init.vim
@@ -20,7 +20,7 @@
" not recommend downloading this file and replace your own init.vim. Good
" configurations are built over time and take your time to polish.
" Author: jdhao (jdhao@hotmail.com). Blog: https://jdhao.github.io
-" Update: 2019-04-25 21:11:43+0800
+" Update: 2019-04-26 17:07:12+0800
"}}
"{{ License: MIT License
@@ -279,7 +279,7 @@ set foldlevel=0 " the level we start to fold
set history=500 " the number of command and search history to keep
" use list mode and customized listchars
-set list listchars=tab:▸\ ,extends:❯,precedes:❮,nbsp:+,trail:· " ,eol:¬
+set list listchars=tab:▸\ ,extends:❯,precedes:❮,nbsp:+ ",trail:·,eol:¬
" string to show before the lines that have been soft-wrapped
set showbreak=↪
@@ -663,7 +663,7 @@ Plug 'deathlyfrantic/deoplete-spell'
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
" Python syntax highlighting
-Plug 'vim-python/python-syntax', { 'for': 'python' }
+" Plug 'vim-python/python-syntax', { 'for': 'python' }
" python syntax highlighting and more
Plug 'numirias/semshi', { 'do': ':UpdateRemotePlugins', 'for': 'python' }
@@ -1075,8 +1075,11 @@ let g:jedi#show_call_signatures = '2'
"""""""""""""""""""""""""python-syntax highlight settings"""""""""""""""""""
-" highlight all
-let g:python_highlight_all = 1
+" " don't highlight space error, really annoying!!!!!
+" let g:python_highlight_space_errors = 0
+
+" " highlight all
+" let g:python_highlight_all = 1
"""""""""""""""""""""""""" semshi settings """""""""""""""""""""""""""""""
@@ -1807,4 +1810,4 @@ endif
" - https://github.com/gkapfham/dotfiles/blob/master/.vimrc
" The ascii art on the frontpage is generated using http://tinyurl.com/y6szckgd
-"} \ No newline at end of file
+"}