|
|
@ -21,7 +21,7 @@ lua <<EOF |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
function! s:ConfigureBuffer() |
|
|
|
function! s:ConfigureBuffer() |
|
|
|
nnoremap <buffer> <silent> <c-]> <cmd>lua vim.lsp.buf.definition()<CR> |
|
|
|
nnoremap <buffer> <silent> <c-]> <cmd>lua vim.lsp.buf.definition()<CR> |
|
|
|
nnoremap <buffer> <silent> <Leader>ld <cmd>lua vim.lsp.util.show_line_diagnostics()<CR> |
|
|
|
nnoremap <buffer> <silent> <Leader>ld <cmd>lua vim.diagnostic.open_float()<CR> |
|
|
|
nnoremap <buffer> <silent> K <cmd>lua vim.lsp.buf.hover()<CR> |
|
|
|
nnoremap <buffer> <silent> K <cmd>lua vim.lsp.buf.hover()<CR> |
|
|
|
nnoremap <buffer> <silent> gd <cmd>lua vim.lsp.buf.declaration()<CR> |
|
|
|
nnoremap <buffer> <silent> gd <cmd>lua vim.lsp.buf.declaration()<CR> |
|
|
|
endfunction |
|
|
|
endfunction |
|
|
|