mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
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:
parent
2c37492461
commit
ecfaed3cc1
1 changed files with 6 additions and 0 deletions
|
@ -108,6 +108,7 @@ return {
|
||||||
markdown = "markdown",
|
markdown = "markdown",
|
||||||
sass = "css",
|
sass = "css",
|
||||||
scss = "css",
|
scss = "css",
|
||||||
|
python = "python",
|
||||||
},
|
},
|
||||||
groups = {
|
groups = {
|
||||||
default = {
|
default = {
|
||||||
|
@ -151,6 +152,11 @@ return {
|
||||||
cyclic = true, -- "or" is incremented into "and".
|
cyclic = true, -- "or" is incremented into "and".
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
python = {
|
||||||
|
augend.constant.new({
|
||||||
|
elements = { "and", "or" },
|
||||||
|
}),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue