• This repository has been archived on 27/Feb/2023
  • Stars
    star
    434
  • Rank 96,688 (Top 2 %)
  • Language
    Lua
  • License
    Apache License 2.0
  • Created about 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐ŸŒˆ Plugin that creates missing LSP diagnostics highlight groups for color schemes that don't yet support the Neovim 0.5 builtin LSP client.

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

โœจ Features

  • supports the latest Neovim 0.5 and 0.6 (HEAD) LSP highlight groups
  • support any colorscheme like Nord and Gruvbox
  • existing highlight groups from themes will never be overwritten
  • tries to use 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

๐Ÿ“ฆ Installation

Install the theme with your preferred package manager:

vim-plug

Plug 'folke/lsp-colors.nvim'

packer

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
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:

# 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

More Repositories

1

lazy.nvim

๐Ÿ’ค A modern plugin manager for Neovim
Lua
11,573
star
2

tokyonight.nvim

๐Ÿ™ A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
Lua
5,173
star
3

trouble.nvim

๐Ÿšฆ A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Lua
4,726
star
4

which-key.nvim

๐Ÿ’ฅ Create key bindings that stick. WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible keybindings of the command you started typing.
Lua
4,441
star
5

noice.nvim

๐Ÿ’ฅ Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
Lua
3,677
star
6

todo-comments.nvim

โœ… Highlight, list and search todo comments in your projects
Lua
2,711
star
7

flash.nvim

Navigate your code with search labels, enhanced character motions and Treesitter integration
Lua
1,965
star
8

neodev.nvim

๐Ÿ’ป Neovim setup for init.lua and plugin development with full signature help, docs and completion for the nvim lua API.
Lua
1,935
star
9

zen-mode.nvim

๐Ÿง˜ Distraction-free coding for Neovim
Lua
1,442
star
10

ultra-runner

๐Ÿƒโ›ฐ Ultra fast monorepo script runner and build tool
TypeScript
1,188
star
11

twilight.nvim

๐ŸŒ… Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
Lua
1,130
star
12

esbuild-runner

โšก๏ธ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
TypeScript
701
star
13

dot

โ˜•๏ธ My Dot Files
Lua
670
star
14

edgy.nvim

Easily create and manage predefined window layouts, bringing a new edge to your workflow
Lua
665
star
15

neoconf.nvim

๐Ÿ’ผ Neovim plugin to manage global and project-local settings
Lua
605
star
16

persistence.nvim

๐Ÿ’พ Simple session management for Neovim
Lua
533
star
17

devmoji

๐Ÿค– ๐Ÿš€ โœจ Emojify your conventional commits with Devmoji
TypeScript
286
star
18

styler.nvim

Simple Neovim plugin to set a different colorscheme per filetype.
Lua
247
star
19

drop.nvim

๐Ÿ Fun little plugin that can be used as a screensaver and on your dashboard
Lua
190
star
20

polydock

โœจ A shiny and hackable application dock
TypeScript
179
star
21

paint.nvim

Easily add additional highlights to your buffers
Lua
152
star
22

vscode-monorepo-workspace

๐Ÿ“ฆโœจManage monorepos with multi-root workspaces. Supports Lerna, Yarn, Pnpm, Rushjs and recursive package directories.
TypeScript
138
star
23

splashcii

Simple cli tool that shows a random ascii art from https://www.asciiur.com/
TypeScript
35
star
24

semantic-release-commit-filter

๐Ÿ“ฆ๐Ÿ•ต๏ธโ€โ™€๏ธ Semantic-release plugin that filters git commits based on the current working directory
JavaScript
25
star
25

zmk-config

Folke's ZMK config
C++
21
star
26

lovelace-styler

Custom styling for lovelace cards
TypeScript
18
star
27

folke

7
star
28

phpintel

Accurate autocompletion / code checking / .... framework for PHP
PHP
3
star
29

adventofcode

๐ŸŽ… ๐ŸŽ„ โ›„ โœจ Solutions for Advent of Code 2020 in TypeScript
TypeScript
2
star
30

chess

C#
2
star
31

adventofcode2019

Advent of Code 2019 in TypeScript
TypeScript
2
star