Replies: 9 comments 10 replies
-
I get the same error. Have you found any solution? |
Beta Was this translation helpful? Give feedback.
-
After digging some around the source code and docs I found if adding this line to the default require('lspconfig').grammarly.setup{
init_options = { clientId = 'client_BaDkMgx4X19X9UxxYRCXZo', },
} with |
Beta Was this translation helpful? Give feedback.
-
Thanks to @tomrtk , I added the following configuration to LunarVim: -- edit this file by running `:lua vim.cmd("edit " .. lvim.lsp.templates_dir .. "/markdown.lua")`
local grammarly_opts = {
init_options = { clientId = 'client_BaDkMgx4X19X9UxxYRCXZo', },
}
require("lvim.lsp.manager").setup("grammarly", grammarly_opts) And it works. 🎉 |
Beta Was this translation helpful? Give feedback.
-
Still not working for me :( |
Beta Was this translation helpful? Give feedback.
-
I have a minimal working config for grammarly and marksman here, maybe this will help. See the README, as you have to run the pnpm commands or you will get the missing wasm ereor. |
Beta Was this translation helpful? Give feedback.
-
@chrisgrieser , I have seen the |
Beta Was this translation helpful? Give feedback.
-
Using the version published on Homebrew should work out of box: https://formulae.brew.sh/formula/grammarly-languageserver |
Beta Was this translation helpful? Give feedback.
-
I solved the problem by downgrading node.js to 16.19.0 |
Beta Was this translation helpful? Give feedback.
-
I got mine working with the following: require'lspconfig'.grammarly.setup {
filetypes = { "markdown", "tex", "text", },
init_options = {
clientId = "client_"
},
root_dir = function(fname)
return require'lspconfig'.util.find_git_ancestor(fname) or vim.loop.os_homedir()
end,
} |
Beta Was this translation helpful? Give feedback.
-
I wanted to configure the language server with nvim-lsp config. Where does the server look for config file or can this be passed as option to lspconfig?
Getting this error when using nvim-lsp-installer
Beta Was this translation helpful? Give feedback.
All reactions