Skip to content

Commit 6ac2023

Browse files
committed
(all) Update help to highlight code inside lists with tree-sitter on.
Details: - neovim/tree-sitter-vimdoc#118
1 parent 5347181 commit 6ac2023

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/mini-cursorword.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ highlighting update.
5757
Module-specific disabling:
5858
- Don't show highlighting if cursor is on the word that is in a blocklist
5959
of current filetype. In this example, blocklist for "lua" is "local" and
60-
"require" words, for "javascript" - "import":
61-
>
60+
"require" words, for "javascript" - "import": >
61+
6262
_G.cursorword_blocklist = function()
6363
local curword = vim.fn.expand('<cword>')
6464
local filetype = vim.bo.filetype

lua/mini/cursorword.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
--- Module-specific disabling:
5858
--- - Don't show highlighting if cursor is on the word that is in a blocklist
5959
--- of current filetype. In this example, blocklist for "lua" is "local" and
60-
--- "require" words, for "javascript" - "import":
61-
--- >
60+
--- "require" words, for "javascript" - "import": >
61+
---
6262
--- _G.cursorword_blocklist = function()
6363
--- local curword = vim.fn.expand('<cword>')
6464
--- local filetype = vim.bo.filetype

0 commit comments

Comments
 (0)