aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/nvim-lsp-installer.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/nvim-lsp-installer.vim b/plugin/nvim-lsp-installer.vim
index b0a77865..2cd3485b 100644
--- a/plugin/nvim-lsp-installer.vim
+++ b/plugin/nvim-lsp-installer.vim
@@ -41,9 +41,7 @@ function! s:LspInstallInfo() abort
endfunction
function! s:LspInstallLog() abort
- let l:log_file = luaeval("require'nvim-lsp-installer.log'.outfile")
- tabnew
- exe 'e ' .. l:log_file
+ exe 'tabnew ' .. luaeval("require'nvim-lsp-installer.log'.outfile")
endfunction
command! -nargs=+ -complete=custom,s:LspInstallCompletion LspInstall exe s:LspInstall("<args>")