prevent "nvim Undefined global vim."

This commit is contained in:
Victor Siman'kin 2023-11-02 02:56:42 +03:00
parent e5babf289c
commit db4061d12a

View file

@ -59,6 +59,10 @@ return {
completion = {
callSnippet = "Replace",
},
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = { "vim", "require" },
},
},
},
},