diff options
author | Urbain Vaes <urbain@vaes.uk> | 2021-01-04 08:59:19 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2021-01-04 08:59:19 +0000 |
commit | c12766be068c68c49cd70113cf5558e9c19a841f (patch) | |
tree | 4a7070f8ab38a45b40c36acfa37c24b0b1e52546 /vim | |
parent | d95b1fe411836049d0fdf00487591888d987384b (diff) |
Minor changes
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -227,7 +227,7 @@ set undodir^=~/.vim/undo// " // : store absolute path " set complete+=k -set conceallevel=2 +set conceallevel=0 set cursorline set diffopt=filler,vertical,hiddenoff set expandtab @@ -488,15 +488,15 @@ if has("nvim") endif "" Experimental {{{1 -if has("nvim") && hostname() != "peuplier" - lua require'nvim_lsp'.pyls.setup{} - autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc - nnoremap <expr> <c-g> Remembrall('<c-g>') - nnoremap <silent> <c-g>h <cmd>lua vim.lsp.buf.hover()<cr> - nnoremap <silent> <c-g>a <cmd>lua vim.lsp.buf.declaration()<cr> - nnoremap <silent> <c-g>d <cmd>lua vim.lsp.buf.definition()<cr> - nnoremap <silent> <c-g>i <cmd>lua vim.lsp.buf.implementation()<cr> - nnoremap <silent> <c-g>s <cmd>lua vim.lsp.buf.signature_help()<cr> - nnoremap <silent> <c-g>t <cmd>lua vim.lsp.buf.type_definition()<cr> - nnoremap <silent> <c-g><c-g> <cmd>lua vim.lsp.stop_client(vim.lsp.get_active_clients())<cr> -endif +" if has("nvim") && hostname() != "peuplier" +" lua require'nvim_lsp'.pyls.setup{} +" autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc +" nnoremap <expr> <c-g> Remembrall('<c-g>') +" nnoremap <silent> <c-g>h <cmd>lua vim.lsp.buf.hover()<cr> +" nnoremap <silent> <c-g>a <cmd>lua vim.lsp.buf.declaration()<cr> +" nnoremap <silent> <c-g>d <cmd>lua vim.lsp.buf.definition()<cr> +" nnoremap <silent> <c-g>i <cmd>lua vim.lsp.buf.implementation()<cr> +" nnoremap <silent> <c-g>s <cmd>lua vim.lsp.buf.signature_help()<cr> +" nnoremap <silent> <c-g>t <cmd>lua vim.lsp.buf.type_definition()<cr> +" nnoremap <silent> <c-g><c-g> <cmd>lua vim.lsp.stop_client(vim.lsp.get_active_clients())<cr> +" endif |