aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/lsp.vim4
1 files changed, 0 insertions, 4 deletions
diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim
index 702be8f..cbc5b15 100644
--- a/.vim/after/plugin/lsp.vim
+++ b/.vim/after/plugin/lsp.vim
@@ -86,10 +86,6 @@ function! s:on_lsp_buffer_enabled() abort
nmap <buffer> <leader>rn <plug>(lsp-rename)
nmap <buffer> K <plug>(lsp-hover)
- setlocal foldmethod=expr
- \ foldexpr=lsp#ui#vim#folding#foldexpr()
- \ foldtext=lsp#ui#vim#folding#foldtext()
-
let g:lsp_format_sync_timeout = 1000
autocmd! BufWritePre *.rs,*.go call execute('LspDocumentFormatSync')
endfunction