mirror of
https://github.com/nvimdev/lspsaga.nvim.git
synced 2024-09-16 14:24:08 +02:00
update issue_template
This commit is contained in:
parent
65de711ef0
commit
4381baaa6d
2 changed files with 4 additions and 2 deletions
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
@ -16,6 +16,7 @@ body:
|
|||
description: |
|
||||
- How to reproduce with a min config.
|
||||
- better to provide some example codes which can reproduce.
|
||||
- If you don't provide example codes and a clear reproduce step issue will be closed
|
||||
placeholder: |
|
||||
use min.lua https://github.com/nvimdev/lspsaga.nvim/blob/main/test/minimal_test.lua for test
|
||||
nvim --clean -u min.lua language_file
|
||||
|
|
|
@ -106,8 +106,9 @@ function ot:parse(symbols, cword, curline)
|
|||
end
|
||||
|
||||
local range = node.selectionRange or node.range or node.targetRange
|
||||
if #pos == 0 and node.name == cword and range.start.line == curline - 1 then
|
||||
pos = { row, #indent }
|
||||
if #pos == 0 and range.start.line == curline - 1 then
|
||||
pos[#pos + 1] = row
|
||||
pos[#pos + 1] = #indent
|
||||
end
|
||||
|
||||
buf_set_extmark(self.bufnr, ns, row - 1, #indent - 2, {
|
||||
|
|
Loading…
Reference in a new issue