nordic.nvim
nordic.nvim copied to clipboard
feat!: change italics configuration for finer control
Instead of just enabling or disabling italics provide a table where the user can enable italics for different keywords.
italics = {
enabled = true, -- Enable/disable italics globally
-- Enable/disable italics on a finer level. Changing settings below will only have effect when 'enabled' is set to true
attributes = false,
builtins = true,
comments = false,
constructors = true,
conditionals = true,
defines = false,
emphasis = true,
exceptions = false,
fields = false,
functions = true,
includes = false,
keywords = false,
labels = true,
parameters = true,
properties = false,
repeats = true,
types = false,
variables = false,
},
This change breaks old configurations (the old settings just won't have any effect) due to:
italicchanged toitalics, which requires a table nowitalic_commentsmerged into theitalicstable