Skip to content

--logpath not working #3029

Answered by tomlau10
rieje asked this question in Q&A
Jan 5, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I'm using Neovim. I passed --logpath=--logpath=/tmp/nvim/lsp to misc.paremeters

  1. You typed --logpath= twice and this is incorrect
  2. misc.paremeters seems to be vscode only, this is for how the vscode client extension starts the server binary
    https://luals.github.io/wiki/settings/#miscparameters

I don't know much about neovim (I use vscode) but from this neovim config example: #2975 (comment), seems that if you want to add launch options, you have set the cmd field in your config file?

require'lspconfig'.lua_ls.setup {
  cmd = { "lua-language-server", "--logpath=/tmp/nvim/lsp" },
  ...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rieje
Comment options

Answer selected by rieje
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants