Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotbare
-
How can I display vim.lsp.buf.signature_help() only when signature help is available
This is an extensive example from my config, but I dont know if it can be simpler than that while doing all this
-
Programming in C++ using neovim
This file what plugin does it come from?
-
vim.cmd can be indexed in nightly
Here you go. Just a fair warning, its multi-file and heavy with plugins. I use nvim for anything at all that requires typing text.
-
better keymaps for toggling quickfix focus and closing quickfix?
check the functions in this page. Some of the code is inspired by a video by thePrimegen i think. Cant remember exactly.
-
Show lsp signature_help window above cursor
thanks this works, btw i tried your signature config https://gitlab.com/ranjithshegde/dotbare/-/blob/master/.config/nvim/lua/lsp/signature.lua
-
About C/C++ completion (nvim-lspconfig, nvim-compe, vim-vsnip)
you can look into my config
-
Switching to nvim-lsp
You can find my lsp related configs here. I havent had a lot of time to config vim lately so it isnt very clean. but you will find the ccls+clangd handling in there
vim-ccls
- Vim-ccls: Vim plugin for the ccls language server
-
Getting neovim setup for C++ dev - CCLS
I've tried ccls.nvim and vim-ccls - any other recommendations?
-
State of the call hierarchy functionality
There is Litee's Calltree but I couldn't make it work. For C/C++, there is the Vim-Ccls plugin that adds those functionalities (although I don't like the UI). But in order to use it I had to switch from Clangd to Ccls and it broke the symbol tree of 2 plugins I had : Sidebar.nvim (which I actively used) and symbols-outline.nvim (an old plugin I tried to use again, but is broken by the change as well).
-
Extension like rust-tools.nvim, but for clangd (C & C++)
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.
-
GitHub - ldelossa/calltree.nvim: Neovim's missing call-hierarchy UI. (Help Test!!)
I use https://github.com/m-pilia/vim-ccls, and was hoping to find something more general. Thank you for making this.
-
Switching to nvim-lsp
you could go the route of writing your on handlers. I was incredibly lazy. there exists Martin Pilla' amazing plugin that does just that. All the hierarchy based jumps provided by ccls are inside that plugin.
What are some alternatives?
lsp_signature.nvim - LSP signature hint as you type
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
cmp-nvim-lsp-signature-help - cmp-nvim-lsp-signature-help
litee-calltree.nvim - Neovim's missing call hierarchy UI
st - snazzy terminal (suckless + beautiful)
litee.nvim - A framework for building Neovim plugins
clangd_extensions.nvim - Clangd's off-spec features for neovim's LSP client. Use https://sr.ht/~p00f/clangd_extensions.nvim instead
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
vim-yggdrasil - Vim library to generate tree-like views
dotfiles - 💻 neovim, fish, tmux, git, homebrew - my whole world
dotfiles