Questions tagged [mason]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
71 views

How to enable Qt completion with clangd in Neovim?

I use nvim-cmp. I have installed the clangd with Mason, and configured it with `lsp-config.nvim as: local capabilities = require('cmp_nvim_lsp').default_capabilities() lspconfig.clangd.setup { ...
Vladyslav Rehan's user avatar
0 votes
0 answers
43 views

How do I get clangd to also recognise c++ includes?

I've installed clangd through mason, the lsp works when I open a cpp file. It finds includes from the C std library but when I include for instance it will just say 'fstream' file not found, same ...
TiesDO's user avatar
  • 1
0 votes
0 answers
95 views

Startup error on neovim 'has_package' attempts to call a nil value

I am trying to use these configurations for neovim, but every time I start the editor I get: Error detected while processing /home/user/.config/nvim/init.lua: E5113: Error while calling lua chunk: ......
user49611's user avatar
0 votes
0 answers
110 views

How to disable tsserver check on JS file

I am a newbie to neovim, so please bear with me. I am using Mason to configure my LSP servers. For Javascript I use tsserver. However I am getting error/hint 'Could not find declaration file for ...
Petr Bělecký's user avatar
0 votes
0 answers
79 views

Neovim tries to run vale through a Autocommand

Whenever I save a .txt file it I get the error: Error detected while processing BufWritePost Autocommands for "*": Error running vale: ENOENT: no such file or directory I have tried using :...
Dario Spinnato's user avatar
1 vote
0 answers
79 views

Unable to configure buildFlag for gopls with mason

I'm using kickstart on my vanilla Neovim config and having some troubles with configuring buildFlags for my gopls. I added uncommented gopls and added following config in my init.lua Spent few hours ...
user3194649's user avatar
0 votes
1 answer
688 views

Error when configuring lspconfig with mason

I'm trying to set up autocompletion, fixing, etc. for lua files in Neovim. I started by trying to follow the instructions from this video: https://www.youtube.com/watch?v=lpQMeFph1RE&t=188s ...
quant's user avatar
  • 101
2 votes
0 answers
44 views

Error setting up julia language server in Neovim

When I try to use julials I get the following prompt: Client quit with exit code 1 and signal 0 These are the lsp log [ERROR][2023-09-24 23:12:43] .../vim/lsp/rpc.lua:677 "rpc" "/...
kay's user avatar
  • 61
2 votes
1 answer
2k views

Where to find debug logs for an LSP started with vim.lsp.start()?

Long time vim user, I am getting started with using LSPs in nvim. I want to use the clangd LSP to get all those powerful LSP goodies. I am seeing a bunch of spurious errors whenever I edit a file, so ...
Ari Sweedler's user avatar