We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf50840 + db3406f commit b79a2c3Copy full SHA for b79a2c3
after/plugin/lsp.lua
@@ -9,6 +9,18 @@ lsp.ensure_installed({
9
'rust_analyzer',
10
})
11
12
+-- Fix Undefined global 'vim'
13
+lsp.configure('sumneko_lua', {
14
+ settings = {
15
+ Lua = {
16
+ diagnostics = {
17
+ globals = { 'vim' }
18
+ }
19
20
21
+})
22
+
23
24
local cmp = require('cmp')
25
local cmp_select = {behavior = cmp.SelectBehavior.Select}
26
local cmp_mappings = lsp.defaults.cmp_mappings({
0 commit comments