return treesitter
end
+theme.loadFiletypes = function()
+ -- Filetype-specific highlight groups
+
+ local ft = {
+ -- yaml
+ yamlBlockMappingKey = { fg = nord.nord7_gui },
+ yamlBool = { link = "Boolean" },
+ yamlDocumentStart = { link = "Keyword" },
+ yamlTSField = { fg = nord.nord7_gui },
+ yamlTSString = { fg = nord.nord4_gui },
+ yamlTSPunctSpecial = { link = "Keyword" },
+ yamlKey = { fg = nord.nord7_gui }, -- stephpy/vim-yaml
+ }
+
+ return ft
+end
+
theme.loadLSP = function()
-- Lsp highlight groups
local editor = nord.loadEditor()
local syntax = nord.loadSyntax()
local treesitter = nord.loadTreeSitter()
+ local filetypes = nord.loadFiletypes()
-- load editor highlights
util.loadColorSet(editor)
-- load treesitter highlights
util.loadColorSet(treesitter)
+ -- load filetype-specific highlights
+ util.loadColorSet(filetypes)
+
nord.loadTerminal()
-- imort tables for plugins and lsp