mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 07:26:44 +00:00
update-2022-04-12
This commit is contained in:
25
nvim/lua/config/nvim-lsputils.lua
Normal file
25
nvim/lua/config/nvim-lsputils.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
local g = vim.g
|
||||
|
||||
local border_chars = {
|
||||
TOP_LEFT = '╭',
|
||||
TOP_RIGHT = '╮',
|
||||
MID_HORIZONTAL = '─',
|
||||
MID_VERTICAL = '│',
|
||||
BOTTOM_LEFT = '╰',
|
||||
BOTTOM_RIGHT = '╯',
|
||||
}
|
||||
|
||||
g.lsp_utils_location_opts = {
|
||||
mode = 'split',
|
||||
preview = {
|
||||
title = 'Location Preview',
|
||||
border = true,
|
||||
border_chars = border_chars,
|
||||
},
|
||||
keymaps = {
|
||||
n = {
|
||||
['<C-n>'] = 'j',
|
||||
['<C-p>'] = 'k',
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user