Skip to content

Commit

Permalink
feat(semantic_tokens): link default library to function builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchilly committed Mar 13, 2023
1 parent d4a615a commit 53cdaa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/nightfox/group/modules/lsp_semantic_tokens.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ function M.get(spec, config, opts)
["@lsp.type.parameter"] = { link = "@parameter" },
["@lsp.type.property"] = { link = "@property" },
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
["@lsp.typemod.function.defaultLibrary"] = { link = "Special" },
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
["@lsp.typemod.variable.defaultLibrary"] = { link = "@variable.builtin" },
}
end
Expand Down

0 comments on commit 53cdaa5

Please sign in to comment.