aboutsummaryrefslogtreecommitdiff
path: root/core/autocommands.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-17 00:22:33 +0800
committerjdhao <jdhao@hotmail.com>2021-07-17 00:22:33 +0800
commitdc6a510526c3e3e38f4eb23149e0ec89cd03118a (patch)
tree280954b43e09a308c98abe552f1f770b614d6949 /core/autocommands.vim
parent49f5f0155a58e50d82db6625fbfd9aa603c7bd01 (diff)
Update nvim-lspconfig settings
1. Customize document hover window border color. 2. Show also the source that generates a certain diagnostic message.
Diffstat (limited to 'core/autocommands.vim')
-rw-r--r--core/autocommands.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim
index fd4654f..e88a1db 100644
--- a/core/autocommands.vim
+++ b/core/autocommands.vim
@@ -72,6 +72,11 @@ augroup cursor_color
autocmd ColorScheme * highlight Cursor2 guifg=red guibg=red
augroup END
+augroup float_border_color
+ autocmd!
+ autocmd ColorScheme * highlight FloatBorder guifg=LightGreen guibg=NONE
+augroup END
+
augroup auto_close_win
autocmd!
autocmd BufEnter * call s:quit_current_win()