Skip to content

Ltex-ls LSP won't install #1728

Answered by ilias777
jacopoaltieri asked this question in Q&A
Discussion options

You must be logged in to vote

Do you add the ltex language server in nvim-lspconfig?

Make sure you have in your lsp config file this:

lspconfig.ltex.setup({
    -- ltex settings
})

Look here → nvim-lspconfig quickstart
and here → server configuration for ltex

And make sure you have mason.nvim, mason-lspconfig.nvim and nvim-lspconfig in this order in your lspconfig file:

  1. mason.nvim: require('mason').setup({ -- your settigns })
  2. mason-lspconfig: require('mason-lspconfig').setup({ -- your settings })
  3. nvim-lspconfig: lspconfig.ltex.setup({ -- your settings })

Look here → mason-lspconfig setup

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jacopoaltieri
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