lsp: change log name to "lsp.log" from "vim-lsp.log"

It's confusing because vim-lsp already has the same name as the plugin name that predates this built-in lsp.
Also, since "vim.fn.stdpath" is used, adding the prefix "nvim-" is redundant, so just "lsp.log" will suffice.
This commit is contained in:
Hirokazu Hata 2020-05-23 15:01:08 +09:00
parent ef8f965c64
commit e0e5ada2bf
No known key found for this signature in database
GPG Key ID: 9AA9860369AE0DE2

View File

@ -24,7 +24,7 @@ do
local function path_join(...)
return table.concat(vim.tbl_flatten{...}, path_sep)
end
local logfilename = path_join(vim.fn.stdpath('data'), 'vim-lsp.log')
local logfilename = path_join(vim.fn.stdpath('data'), 'lsp.log')
--- Return the log filename.
function log.get_filename()