Skip to content

Commit

Permalink
Rename min-init to min-vimrc & turn on full RUST_BACKTRACE.
Browse files Browse the repository at this point in the history
  • Loading branch information
autozimu committed Jul 31, 2018
1 parent b4ad460 commit 1138212
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -20,7 +20,7 @@ A clear and concise description of what the bug is.
- This plugin version (`git rev-parse --short HEAD`):
- This plugin's binary version (`bin/languageclient --version`):
- Minimal vimrc content (A minimal vimrc is the smallest vimrc that could
reproduce the issue. Refer to an example [here][min-init.vim]):
reproduce the issue. Refer to an example [here][min-vimrc.vim]):
- Language server link and version:

## To Reproduce
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Expand Up @@ -80,7 +80,7 @@ nnoremap <silent> <F2> :call LanguageClient#textDocument_rename()<CR>

# 6. Troubleshooting

1. Backup your vimrc and use [min-init.vim](min-init.vim) as vimrc.
1. Backup your vimrc and use [min-vimrc.vim](min-vimrc.vim) as vimrc.
1. Try on [sample projects](tests/data).
1. Execute `:echo &runtimepath` and make sure the plugin path is in the list.
1. Make sure language server could be started when invoked manually from shell.
Expand Down
1 change: 1 addition & 0 deletions min-init.vim → min-vimrc.vim
Expand Up @@ -18,6 +18,7 @@ set signcolumn=yes
let g:LanguageClient_serverCommands = {
\ 'rust': ['rustup', 'run', 'stable', 'rls'],
\ }
let $RUST_BACKTRACE = 'full'
let g:LanguageClient_loggingFile = '/tmp/LanguageClient.log'
let g:LanguageClient_loggingLevel = 'INFO'
let g:LanguageClient_serverStderr = '/tmp/LanguageServer.log'

0 comments on commit 1138212

Please sign in to comment.