aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-06-30 16:57:44 +0800
committerGitHub <noreply@github.com>2022-06-30 16:57:44 +0800
commit995e4879153d0f4ea72dff446c175754a1873425 (patch)
treec53b77a422ab65860ccb15c9020a89f89b68c37d /src/nvim/api
parent6f6286e4f90da25a7d1b6bcc96b79b0ccbaf5c26 (diff)
downloadrneovim-995e4879153d0f4ea72dff446c175754a1873425.tar.gz
rneovim-995e4879153d0f4ea72dff446c175754a1873425.tar.bz2
rneovim-995e4879153d0f4ea72dff446c175754a1873425.zip
refactor(highlight)!: rename attributes to match Vim (#19159)
Ref: https://github.com/vim/vim/commit/84f546363068e4ddfe14a8a2a2322bb8d3a25417 Rename: - `underlineline` to `underdouble` - `underdot` to `underdotted` - `underdash` to `underdashed` `underdouble` also now takes higher precedence than `undercurl`.
Diffstat (limited to 'src/nvim/api')
-rw-r--r--src/nvim/api/keysets.lua12
-rw-r--r--src/nvim/api/vim.c6
2 files changed, 9 insertions, 9 deletions
diff --git a/src/nvim/api/keysets.lua b/src/nvim/api/keysets.lua
index 1c071eaf48..918fe028a8 100644
--- a/src/nvim/api/keysets.lua
+++ b/src/nvim/api/keysets.lua
@@ -95,10 +95,10 @@ return {
"standout";
"strikethrough";
"underline";
- "underlineline";
"undercurl";
- "underdot";
- "underdash";
+ "underdouble";
+ "underdotted";
+ "underdashed";
"italic";
"reverse";
"nocombine";
@@ -120,10 +120,10 @@ return {
"standout";
"strikethrough";
"underline";
- "underlineline";
"undercurl";
- "underdot";
- "underdash";
+ "underdouble";
+ "underdotted";
+ "underdashed";
"italic";
"reverse";
"nocombine";
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index bf3fb04a18..f91b74cd31 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -149,10 +149,10 @@ Dictionary nvim__get_hl_defs(Integer ns_id, Error *err)
/// - bold: boolean
/// - standout: boolean
/// - underline: boolean
-/// - underlineline: boolean
/// - undercurl: boolean
-/// - underdot: boolean
-/// - underdash: boolean
+/// - underdouble: boolean
+/// - underdotted: boolean
+/// - underdashed: boolean
/// - strikethrough: boolean
/// - italic: boolean
/// - reverse: boolean