From 0db1f227ddb691335e1ca703ab678f2e799599ef Mon Sep 17 00:00:00 2001 From: Nicky Meuleman Date: Sun, 27 Oct 2024 20:47:44 +0100 Subject: [PATCH] fix(dial): use augend that allows negative integers --- lua/lazyvim/plugins/extras/editor/dial.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/lazyvim/plugins/extras/editor/dial.lua b/lua/lazyvim/plugins/extras/editor/dial.lua index 1d1b6532..4bfb285d 100644 --- a/lua/lazyvim/plugins/extras/editor/dial.lua +++ b/lua/lazyvim/plugins/extras/editor/dial.lua @@ -126,11 +126,11 @@ return { augend.constant.new({ elements = { "let", "const" } }), }, yaml = { - augend.integer.alias.decimal, -- nonnegative and negative decimal number + augend.integer.alias.decimal_int, -- nonnegative and negative decimal number augend.constant.alias.bool, -- boolean value (true <-> false) }, css = { - augend.integer.alias.decimal, -- nonnegative and negative decimal number + augend.integer.alias.decimal_int, -- nonnegative and negative decimal number augend.hexcolor.new({ case = "lower", }), @@ -142,11 +142,11 @@ return { augend.misc.alias.markdown_header, }, json = { - augend.integer.alias.decimal, -- nonnegative and negative decimal number + augend.integer.alias.decimal_int, -- nonnegative and negative decimal number augend.semver.alias.semver, -- versioning (v1.1.2) }, lua = { - augend.integer.alias.decimal, -- nonnegative and negative decimal number + augend.integer.alias.decimal_int, -- nonnegative and negative decimal number augend.constant.alias.bool, -- boolean value (true <-> false) augend.constant.new({ elements = { "and", "or" }, @@ -155,7 +155,7 @@ return { }), }, python = { - augend.integer.alias.decimal, -- nonnegative and negative decimal number + augend.integer.alias.decimal_int, -- nonnegative and negative decimal number capitalized_boolean, logical_alias, },