mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
fix: lsp github issue template example (#22285)
This commit is contained in:
2
.github/ISSUE_TEMPLATE/lsp_bug_report.yml
vendored
2
.github/ISSUE_TEMPLATE/lsp_bug_report.yml
vendored
@ -46,7 +46,7 @@ body:
|
||||
pattern = pattern,
|
||||
callback = function(args)
|
||||
local match = vim.fs.find(root_markers, { path = args.file, upward = true })[1]
|
||||
local root_dir = match and vim.fn.fnamemodify(match, ':p:h') or vim.NIL
|
||||
local root_dir = match and vim.fn.fnamemodify(match, ':p:h') or nil
|
||||
vim.lsp.start({
|
||||
name = 'bugged-ls',
|
||||
cmd = cmd,
|
||||
|
Reference in New Issue
Block a user