138 nmap <buffer> [r <plug>(lsp-previous-reference) |
138 nmap <buffer> [r <plug>(lsp-previous-reference) |
139 nmap <buffer> <leader>rn <plug>(lsp-rename) |
139 nmap <buffer> <leader>rn <plug>(lsp-rename) |
140 nmap <buffer> <leader>gt <plug>(lsp-type-definition) |
140 nmap <buffer> <leader>gt <plug>(lsp-type-definition) |
141 let &signcolumn = (has('gui_running') ? 'number' : 'yes') |
141 let &signcolumn = (has('gui_running') ? 'number' : 'yes') |
142 hi lspReference ctermfg=217 guifg=#f0a0c0 |
142 hi lspReference ctermfg=217 guifg=#f0a0c0 |
143 |
|
144 " Workaround for vim-lsp mapping esc |
|
145 nmap <plug>() <Plug>(lsp-float-close) |
|
146 endfunc |
143 endfunc |
147 |
144 |
148 " Commands & Aliases {{{ |
145 " Commands & Aliases {{{ |
149 command! -nargs=+ CAlias call vimrc#CommandAlias(<f-args>) |
146 command! -nargs=+ CAlias call vimrc#CommandAlias(<f-args>) |
150 |
147 |