Remove go crap
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
177905c5ad
commit
490d7acff8
1 changed files with 0 additions and 5 deletions
|
@ -277,9 +277,6 @@ autocmd FileType scheme nnoremap <buffer> <Leader>re :normal mscpaF<cr>`s
|
|||
" Evaluates the entire file.
|
||||
autocmd FileType scheme nnoremap <buffer> <Leader>rf :normal msggcpG<cr>`s
|
||||
|
||||
" Run gofmt on save
|
||||
autocmd BufWritePre *.go :call LanguageClient#textDocument_formatting_sync()
|
||||
|
||||
" For Clojure
|
||||
function! Expand(exp) abort
|
||||
let l:result = expand(a:exp)
|
||||
|
@ -301,7 +298,6 @@ let g:LanguageClient_loggingFile = expand('$HOME/LC.log')
|
|||
let g:LanguageClient_rootMarkers = ['stack.yaml']
|
||||
let g:LanguageClient_serverCommands = {
|
||||
\ 'haskell': ['$HOME/.local/bin/hie-wrapper'],
|
||||
\ 'go' : ['$HOME/go/bin/gopls'],
|
||||
\ 'clojure': ['bash', '-c', 'clojure-lsp'],
|
||||
\ }
|
||||
|
||||
|
@ -349,7 +345,6 @@ call deoplete#custom#option('sources', {
|
|||
\ '_' : ['buffer', 'tag'],
|
||||
\ 'rust': ['racer'],
|
||||
\ 'haskell': ['LanguageClient'],
|
||||
\ 'go': ['LanguageClient'],
|
||||
\ 'clojure': ['LanguageClient'],
|
||||
\})
|
||||
let g:deoplete#sources#rust#disable_keymap = 1
|
||||
|
|
Loading…
Reference in a new issue