Skip to content

Instantly share code, notes, and snippets.

@spamwax
Created August 13, 2021 17:06
Show Gist options
  • Save spamwax/28498d308bbef75ea6c4e62272a43bb0 to your computer and use it in GitHub Desktop.
Save spamwax/28498d308bbef75ea6c4e62272a43bb0 to your computer and use it in GitHub Desktop.
return {
Lua = {
completion = {
callSnippet = "Replace"
},
diagnostics = {
enable = true,
globals = { "vim" }
},
runtime = {
version = "LuaJIT"
},
telemetry = {
enable = false
},
workspace = {
checkThirdParty = true,
library = {
["/Volumes/Home/hamid/.config/nvim/lua/?.lua"] = true,
["/Volumes/Home/hamid/.config/nvim/lua/?/init.lua"] = true,
["/Volumes/Home/hamid/.config/nvim/plugged"] = true,
["/Volumes/Home/hamid/.config/nvim/plugged/lua-dev.nvim/types"] = true,
["/Volumes/Home/hamid/.luarocks/share/lua/5.1"] = true,
["/Volumes/Home/hamid/.luarocks/share/lua/5.1/?.lua"] = true,
["/Volumes/Home/hamid/.luarocks/share/lua/5.1/?/init.lua"] = true,
["/Volumes/Home/hamid/local/neovim/share/nvim/runtime"] = true,
["/Volumes/Home/hamid/local/neovim/share/nvim/runtime/lua"] = true,
["/Volumes/Home/hamid/local/neovim/share/nvim/runtime/lua/vim/lsp"] = true,
["/usr/local/share/lua/5.1/?.lua"] = true,
["/usr/local/share/lua/5.1/?/init.lua"] = true,
["/usr/local/share/luajit-2.0.5/?/init.lua"] = true,
["/usr/local/share/luajit-2.0.5/jit/?.lua"] = true,
["?.lua"] = true,
["?/init.lua"] = true,
["lua/?.lua"] = true,
["lua/?/?.lua"] = true,
["lua/?/init.lua"] = true
},
maxPreload = 1000,
preloadFileSize = 150
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment