aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorskewb1k <skewb1kunix@gmail.com>2025-11-18 04:49:14 +0300
committerGitHub <noreply@github.com>2025-11-17 17:49:14 -0800
commit4b8980949cd47f8206b2fbc266dfeb0920fd1191 (patch)
tree4ab50233deb056d65f2e7b6805b48ab2feb03ad2 /runtime/lua/vim
parentc4ac36bfd9bc9826dde01839d10d0e65a7b3c9e2 (diff)
downloadrneovim-4b8980949cd47f8206b2fbc266dfeb0920fd1191.tar.gz
rneovim-4b8980949cd47f8206b2fbc266dfeb0920fd1191.tar.bz2
rneovim-4b8980949cd47f8206b2fbc266dfeb0920fd1191.zip
fix(lsp): set concealcursor='' in LSP floating windows #36596
Problem: Users often jump and navigate through LSP windows to yank text. Concealed markdown can make navigation through hyperlinks and code blocks more difficult. Solution: Change 'concealcursor' from 'n' to '' to preserve clean display while improving navigation and selection of the LSP response. Closes #36537
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/lsp/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index 4bbd95e0d4..a0ac87afec 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -1769,7 +1769,7 @@ function M.open_floating_preview(contents, syntax, opts)
if do_stylize then
vim.wo[floating_winnr].conceallevel = 2
- vim.wo[floating_winnr].concealcursor = 'n'
+ vim.wo[floating_winnr].concealcursor = ''
vim.bo[floating_bufnr].filetype = 'markdown'
vim.treesitter.start(floating_bufnr)
if not opts.height then