aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoon Kim <yoonkr33@gmail.com>2023-02-16 18:54:52 +0000
committerGitHub <noreply@github.com>2023-02-16 19:54:52 +0100
commit5688a9fb3404d58de75f811ef99be834c4a9c5a9 (patch)
treeebb1fb2d470e2e9cdae31e863e382f9505b15a2e
parentb5922bc6e6092cd44e032d4fff8d27955adf9c5c (diff)
downloadrneovim-5688a9fb3404d58de75f811ef99be834c4a9c5a9.tar.gz
rneovim-5688a9fb3404d58de75f811ef99be834c4a9c5a9.tar.bz2
rneovim-5688a9fb3404d58de75f811ef99be834c4a9c5a9.zip
fix: lsp github issue template example (#22285)
-rw-r--r--.github/ISSUE_TEMPLATE/lsp_bug_report.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/ISSUE_TEMPLATE/lsp_bug_report.yml b/.github/ISSUE_TEMPLATE/lsp_bug_report.yml
index 88867ce644..f453d3864e 100644
--- 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,