commit 5688a9fb3404d58de75f811ef99be834c4a9c5a9
parent b5922bc6e6092cd44e032d4fff8d27955adf9c5c
Author: Kiyoon Kim <yoonkr33@gmail.com>
Date: Thu, 16 Feb 2023 18:54:52 +0000
fix: lsp github issue template example (#22285)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/ISSUE_TEMPLATE/lsp_bug_report.yml b/.github/ISSUE_TEMPLATE/lsp_bug_report.yml
@@ -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,