Skip to content

Commit

Permalink
fix(config): fix copying config deeply
Browse files Browse the repository at this point in the history
  • Loading branch information
arsham committed Jun 14, 2022
1 parent 75876d9 commit f71fd69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Text object (`dii`, `yii`, `vii`, etc.):

## Requirements

At the moment it works on the development release of Neovim, and will be
officially supporting [Neovim 0.7.0](https://github.com/neovim/neovim/releases/tag/v0.7.0).
This library supports [Neovim
0.7.0](https://github.com/neovim/neovim/releases/tag/v0.7.0) or newer.

This plugin depends are the following libraries. Please make sure to add them
as dependencies in your package manager:
Expand Down
2 changes: 1 addition & 1 deletion lua/indent-tools/health.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local M = {}
local health = require("health")
local health = vim.health or require("health")

M.check = function()
health.report_start("Indent Tool Health Check")
Expand Down
2 changes: 1 addition & 1 deletion lua/indent-tools/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ local defaults = { --{{{

return {
config = function(opts) --{{{
opts = vim.tbl_extend("force", defaults, opts)
opts = vim.tbl_deep_extend("force", defaults, opts)
vim.validate({
opts = { opts, "table" },
normal = { opts.normal, { "table", "nil", "boolean" } },
Expand Down

0 comments on commit f71fd69

Please sign in to comment.