forked from dam9000/kickstart-modular.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.lua
More file actions
40 lines (39 loc) · 796 Bytes
/
settings.lua
File metadata and controls
40 lines (39 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--[[
-- This is what I used to use in .luarc.json and this does work out
{
"schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"runtime": {
"version": "LuaJIT",
"path": [
"?.lua",
"?/init.lua"
],
//"pathStrict": true
},
"workspace": {
"library": [
"$VIMRUNTIME",
"${3rd}/luv/library",
],
"checkThirdParty": false
}
}
--]]
return {
lua_ls = {
runtime = {
version = 'LuaJIT',
path = { '?.lua', '?/init.lua' },
},
workspace = {
library = {
vim.env.VIMRUNTIME,
'${3rd}/luv/library',
-- '${3rd}/busted/library',
},
checkThirdParty = false,
},
-- diagnostics = { globals = { 'vim' } },
},
}
-- vim: ts=2 sts=2 sw=2 et