-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Hello. Just like rust-analyzer, clangd implements some extensions to LSP protocol, e. g. inlay hints. There's a great https://github.com/simrat39/rust-tools.nvim Lua plugin for this purpose for Rust. Unfortunately, I failed to find one for C & C++. Does such plugin even exist yet?
First I strip down ccls like this lua local cinit = function(client) require("mappings").nvim_lsp() local rc = client.resolved_capabilities rc.document_formatting = false rc.document_range_formatting = false rc.document_highlight = false rc.document_symbol = false rc.workspace_symbol = false rc.rename = false rc.hover = false rc.completion = false rc.code_action = false end require('lspconfig').ccls.setup{ on_init = cinit, handlers = { ["textDocument/publishDiagnostics"] = function(...) return nil end, ["textDocument/signatureHelp"] = function(...) return nil end, }, single_file_support = true, root_dir = Lsp.util.root_pattern("compile_commands.json", "compile_flags.txt", ".git"), } and then use vim-ccls for the AST extensions, config it with mappings.
Related posts
-
Adding rust to LazyVim
-
AstroNvim v2.9.0 now has out of the box debugger (nvim-dap + nvim-dap-ui) with automatic setup (mason.nvim and mason-nvim-dap.nvim)! (mac and *nix only for now)
-
Neovide – a simple, no-nonsense, cross-platform GUI for Neovim
-
[Experimental] Auto find Rust executables for DAP | Linux
-
As someone new to neovim, should I even bother with LSP?