fix nvim: project.nvim 要在nvim 0.10以上版本才能用

This commit is contained in:
Yuan Chiu 2025-05-06 20:45:55 +08:00
parent d220d0ffa2
commit 1657d5ebe5

View File

@ -8,6 +8,7 @@ return {
-- vim.lsp.buf_get_clients() is deprecated. Run ":checkhealth vim.deprecated" for more information -- vim.lsp.buf_get_clients() is deprecated. Run ":checkhealth vim.deprecated" for more information
"Spelis/project.nvim", "Spelis/project.nvim",
branch = "patch-1", branch = "patch-1",
enable = vim.fn.has("nvim-0.10") == 1,
config = function() config = function()
require("project_nvim").setup { require("project_nvim").setup {