aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/highlight.lua
diff options
context:
space:
mode:
authorJohn Drouhard <john@drouhard.dev>2022-11-23 10:06:36 -0600
committerJohn Drouhard <john@drouhard.dev>2022-12-08 11:31:56 -0600
commit9f035559defd9d575f37fd825954610065d9cf96 (patch)
tree53d4bb16095fafb481aacdfe6e52febbfd66327c /runtime/lua/vim/highlight.lua
parent5e0c74cd82ce75510b15e63a1b0b51cf70cdf47f (diff)
downloadrneovim-9f035559defd9d575f37fd825954610065d9cf96.tar.gz
rneovim-9f035559defd9d575f37fd825954610065d9cf96.tar.bz2
rneovim-9f035559defd9d575f37fd825954610065d9cf96.zip
feat(lsp): initial support for semantic token highlighting
* credit to @smolck and @theHamsta for their contributions in laying the groundwork for this feature and for their work on some of the helper utility functions and tests
Diffstat (limited to 'runtime/lua/vim/highlight.lua')
-rw-r--r--runtime/lua/vim/highlight.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/highlight.lua b/runtime/lua/vim/highlight.lua
index 0fde515bd9..20ad48dd27 100644
--- a/runtime/lua/vim/highlight.lua
+++ b/runtime/lua/vim/highlight.lua
@@ -5,6 +5,7 @@ local M = {}
M.priorities = {
syntax = 50,
treesitter = 100,
+ semantic_tokens = 125,
diagnostics = 150,
user = 200,
}