fix(dial): add and/or augend to python ft (#4875)

## Description

The python language includes the keywords `and` or `or` for logical
operations.
The current `dial.nvim` config does not include an augend for swapping
these
keywords.

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
This commit is contained in:
thisisrandy
2024-11-22 15:05:43 -08:00
committed by GitHub
parent 2c37492461
commit ecfaed3cc1

View File

@ -108,6 +108,7 @@ return {
markdown = "markdown",
sass = "css",
scss = "css",
python = "python",
},
groups = {
default = {
@ -151,6 +152,11 @@ return {
cyclic = true, -- "or" is incremented into "and".
}),
},
python = {
augend.constant.new({
elements = { "and", "or" },
}),
},
},
}
end,