Skip to content

Commit

Permalink
CI(bot): Generate docs and format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and AlexvZyl committed Apr 18, 2024
1 parent 0453584 commit 4ee062a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
11 changes: 8 additions & 3 deletions doc/nordic.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*nordic.nvim.txt* For NVIM v0.8.0 Last change: 2024 April 14
*nordic.nvim.txt* For NVIM v0.8.0 Last change: 2024 April 18

==============================================================================
Table of Contents *nordic.nvim-table-of-contents*
Expand Down Expand Up @@ -119,8 +119,13 @@ default configuration.
bold_keywords = false,
-- Enable italic comments.
italic_comments = true,
-- Enable general editor background transparency.
transparent_bg = false,
-- Enable editor background transparency.
transparent = {
-- Enable transparent background.
bg = false,
-- Enable transparent background for floating windows.
float = false,
},
-- Enable brighter float border.
bright_border = false,
-- Reduce the overall amount of blue in the theme (diverges from base Nord).
Expand Down
6 changes: 5 additions & 1 deletion lua/nordic/compatibility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ local function compatability(options)

-- transparent_bg
if options.transparent_bg ~= nil then
vim.notify_once('Nordic.nvim: config.transparent_bg is deprecated, use config.transparent instead', level, message_options)
vim.notify_once(
'Nordic.nvim: config.transparent_bg is deprecated, use config.transparent instead',
level,
message_options
)
options.transparent = {
bg = options.transparent_bg,
float = options.transparent_bg,
Expand Down
2 changes: 1 addition & 1 deletion lua/nordic/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ M.options = defaults
-- called automatically by load
function M.setup(options)
-- backwards compatibility
options = require('nordic.compatibility')(options)
options = require 'nordic.compatibility'(options)

-- set defaults
M.options = vim.tbl_deep_extend('force', M.options or defaults, options or {})
Expand Down

0 comments on commit 4ee062a

Please sign in to comment.