Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/folke/lsp-colors.nvim
🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client.
https://github.com/folke/lsp-colors.nvim
neovim neovim-colorscheme neovim-plugin
Last synced: about 1 month ago
JSON representation
🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client.
- Host: GitHub
- URL: https://github.com/folke/lsp-colors.nvim
- Owner: folke
- License: apache-2.0
- Archived: true
- Created: 2021-04-23T10:06:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T12:30:08.000Z (about 1 year ago)
- Last Synced: 2024-01-24T08:09:30.397Z (4 months ago)
- Topics: neovim, neovim-colorscheme, neovim-plugin
- Language: Lua
- Homepage:
- Size: 1.67 MB
- Stars: 431
- Watchers: 5
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- awesome-neovim - folke/lsp-colors.nvim - A plugin that adds missing LSP diagnostics highlight groups for color schemes that don't yet support the builtin LSP client. (LSP / (requires Neovim 0.5))
- awesome-stars - lsp-colors.nvim
- awesome-stars - folke/lsp-colors.nvim - 🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client. (Lua)
- awesome-stars - folke/lsp-colors.nvim - 🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client. (Lua)
- awesome-stars - folke/lsp-colors.nvim - 🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client. (Lua)
- awesome-neovim - folke/lsp-colors.nvim - A plugin that adds missing LSP diagnostics highlight groups for color schemes that don't yet support the builtin LSP client. (LSP / (requires Neovim 0.5))
- awesome-neovim - folke/lsp-colors.nvim - A plugin that adds missing LSP diagnostics highlight groups for color schemes that don't yet support the builtin LSP client. (LSP / (requires Neovim 0.5))
README
> This plugin has been archived, since it should be no longer needed. If any colorscheme stil l doesn't support the new diagnostics highlight groups for Neovim, then just post an issue or a PR to fix it there.
----
# 🌈 LSP Colors
Automatically creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin lsp client.
![Screenshot](./media/screenshot.png)
## ✨ Features
+ supports the latest Neovim 0.5 and 0.6 (HEAD) LSP highlight groups
+ support **any** colorscheme like [Nord](https://github.com/arcticicestudio/nord-vim) and [Gruvbox](https://github.com/morhetz/gruvbox)
+ existing highlight groups from themes will never be overwritten
+ tries to use [coc.nvim](https://github.com/neoclide/coc.nvim) groups if they are defined in the theme
+ if not, we fall back to a default set of colors## ⚡️ Requirements
+ Neovim >= 0.5.0
## 📦 InstallationInstall the theme with your preferred package manager:
[vim-plug](https://github.com/junegunn/vim-plug)
```vim
Plug 'folke/lsp-colors.nvim'
```[packer](https://github.com/wbthomason/packer.nvim)
```lua
use 'folke/lsp-colors.nvim'
```## 🚀 Usage
Nothing special. Just load a `colorscheme` as usual 🙂
## ⚙️ Configuration
LSP Colors works out of the box, but you can set the default colors that will be used in case a theme doesn't have LSP nor Coc highlight groups.
```lua
-- Lua
require("lsp-colors").setup({
Error = "#db4b4b",
Warning = "#e0af68",
Information = "#0db9d7",
Hint = "#10B981"
})
```### Making `undercurls` work properly in **Tmux**
To have undercurls show up and in color, add the following to your **Tmux** config file:
```sh
# Undercurl
set -g default-terminal "${TERM}"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
```