cmp-nvim-lsp
nerd-fonts
Our great sponsors
cmp-nvim-lsp | nerd-fonts | |
---|---|---|
22 | 237 | |
1,032 | 51,060 | |
- | - | |
5.1 | 9.7 | |
3 months ago | about 23 hours ago | |
Lua | CSS | |
MIT License | GNU General Public License v3.0 or later |
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.
cmp-nvim-lsp
-
[Need Help]: I am having trouble getting autocomplete with clangd.
You need to add nvim-cmp and cmp-nvim-lsp
-
Neovim lsp not updating (Nuxt 3 auto import)
I had the exact problem recently with svelte and Astro. I opened an issue that never got any reply.: https://github.com/hrsh7th/cmp-nvim-lsp/issues/56
-
Trouble with installing cmp/lsp autocompletion
Plugins Needed: * nvim-lspconfig * nvim-cmp * cmp-nvim-lsp
-
How to setup auto completion, etc. using LSP and stuff without bloating everything with a plugin manager?
-- need to install https://github.com/hrsh7th/cmp-nvim-lsp for server in pairs(servers) do lspconfig[server].setup { on_attach = on_attach, capabilities = require("cmp_nvim_lsp").default_capabilities(), settings = servers[server], } end ```
-
Make lsp-zero.nvim coexists with other plugins instead of controlling them
cmp-nvim-lsp: Completion source. Shows data send by the language server.
-
Jdt.ls doesn't work in nvim-lspconfig
The default capabilities are from this plugin: https://github.com/hrsh7th/cmp-nvim-lsp
-
Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
cmp-nvim-lsp: integração com LSP;
-
How to have LSPs installed with Mason automatically hook up to cmp and work?
nvim-lspconfig is only for configuring the language-servers. You need to add the https://github.com/hrsh7th/cmp-nvim-lsp source to nvim-cmp in order to get lsp completions
-
cmp_nvim_lsp.update_capabilities is deprecated, use cmp_nvim_lsp.default_capabilities instead. See :h deprecated This function will be removed in cmp-nvim-lsp version 1.0.0
Peeking at the code, it is explicitly called out in the function update_capabilities here
-
Is it a bad config or cmp isn't as smart as VSCode autocompletion?
Yep. Make sure you have cmp-nvim-lsp installed, as well as an LSP server running.
nerd-fonts
-
jokermanBestFont
Use any nerd fonts
-
which Font do you use?
SourceCodePro: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/SourceCodePro
-
Neovim Nerd Font icons are available!
Hot off the press: https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.1.0
-
Berkeley Mono Typeface
It's a bit expensive, and I can understand if someone can't or doesn't want to spend money on it. I would recommend to check out the free fonts 'JetBains Mono' & 'Hack' to these people.
Some people have already mentioned here that Berkeley Mono is not available as Nerd Font. I would like to briefly point out that Nerd Fonts provides a font patcher tool (https://github.com/ryanoasis/nerd-fonts#font-patcher).
-
NvChad - multiple different client offset_encodings detected for buffer
I'm using Neovim v0.9.1 on Ubuntu 23.04 with NvChad. I've also installed the JetBrainsMono font, as NvChad requires a Nerd Font, but nothing besides that and I haven't edited any settings or nvim files and I haven't installed any additional plugins.
- Nerd Fonts
-
JetBrains Mono Typeface
There are a lot of code fonts on HN today. Rather than make a new post I will talk about some of my favorite that are a little less common. None of these are free I don't think.
Cartograph CF - The one I've been using for code for years. Very readable, almost "comic mono"-like choices of some of the lower case glyphs but in a good way. All the character is in the italic which you will either love or hate.
Quadraat sans mono - The entire quadraat family is a collection of masterpieces imo, but are generally too distinctive to be appropriate for most public-facing work. But it's your computer so who cares. I use the mono sans one for my terminal. The lowercase f seems so out of place there but you learn to love it.
Alegreya sans - Not a mono font, but it almost is so if you've ever flirted with proportional fonts for code this is a fun one to try. There is a lot of careful line width variation that gives a lot of the appearance and readability advantages of serifs but keeps most of the visual coherence of sans.
I like all of these because they look feel more like normal fonts rather than code fonts. They have careful variation that adds character and improves readability for me. I've switched to an almost-no-color code theme that uses font weight instead, and the details like this become more important that way.
And then only kind of related but if you want to use unusual fonts in your terminal but you have a complex prompt setup, install font forge and learn to use something like https://github.com/ryanoasis/nerd-fonts/blob/master/font-pat... to patch in the extra characters. This can also solve your "I love this font but want a dotted zero" type problems as well. Small skill investment for a small return over a long period of time. You'll always be using fonts.
-
Compiler.nvim: Oficially released (beta)
It is FiraCode Nerd Font Mono:size=16. You can find it here. On arch linux you can just install the nerd-fonts and it's included there.
- Need help: NvChad v2.0 doesn't display font icons correctly with CaskaydiaCove Nerd Font
-
Not sure what icon I'm missing here
I'm assuming you're using a Nerd Font already, since I see the Rust logo and folder icons in your terminal. However, it's possible that your particular font is based on Nerd Font 2.x and the newest version is 3.x. Maybe try scanning your Lua config with nerdfix to identify whether the diagnostics icons you have set (among others) are using outdated 2.x character codes. If they are, try replacing them in your config, and also try upgrading your terminal's Nerd Font compliant font to the latest version (NF's GitHub release page says 3.0.1 is the newest version). Hope this helps your troubleshooting efforts!
What are some alternatives?
nvim-cmp - A completion plugin for neovim coded in Lua.
FiraCode - Free monospaced font with programming ligatures
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Visual Studio Code - Public documentation for Visual Studio Code
lspkind.nvim - vscode-like pictograms for neovim lsp completion items
powerline - Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
lspkind-nvim - vscode-like pictograms for neovim lsp completion items [Moved to: https://github.com/onsails/lspkind.nvim]
bash-powerline - Powerline-style Bash prompt in pure Bash script. See also https://github.com/riobard/zsh-powerline
nvim-lspconfig - Quickstart configs for Nvim LSP
Hack - A typeface designed for source code
nvim-compe - Auto completion Lua plugin for nvim
powerlevel10k - A Zsh theme