aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-08-04 14:32:44 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-08-04 14:32:44 +0100
commitad1f23a6de418d8d067fe413ad6e8cd0b449a5dc (patch)
tree78a5d3034c83ab9823521ab94a6cb47daae4de36
parent649a8c3e6ddde60c723a73d7ac883002e77e4df2 (diff)
downloaddotnvim-ad1f23a6de418d8d067fe413ad6e8cd0b449a5dc.tar.gz
dotnvim-ad1f23a6de418d8d067fe413ad6e8cd0b449a5dc.zip
Add border to errors as well
-rw-r--r--metals.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/metals.vim b/metals.vim
index 8141ff9..3b3dadb 100644
--- a/metals.vim
+++ b/metals.vim
@@ -29,7 +29,7 @@ function! MetalsMapKeys() abort
nnoremap <buffer> <leader>a <cmd>lua vim.diagnostic.setqflist()<CR>
" diagnostic navigation
- nnoremap <buffer> <leader>d <cmd>lua vim.diagnostic.open_float(0, {scope = "line"})<CR>
+ nnoremap <buffer> <leader>d <cmd>lua vim.diagnostic.open_float(0, {scope = "line", border="single"})<CR>
nnoremap <buffer> <leader>da <cmd>lua vim.diagnostic.setloclist()<CR>
nnoremap <buffer> <leader>dn <cmd>lua vim.diagnostic.goto_next()<CR>
nnoremap <buffer> <leader>dp <cmd>lua vim.diagnostic.goto_prev()<CR>