1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Merge pull request #66 from jdhao/lsp

add config dir to workspace.library for lua lsp
This commit is contained in:
jdhao 2022-08-18 13:16:51 +08:00 committed by GitHub
commit 9de08d0afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,10 @@ if utils.executable("lua-language-server") then
-- Make the server aware of Neovim runtime files,
-- see also https://github.com/sumneko/lua-language-server/wiki/Libraries#link-to-workspace .
-- Lua-dev.nvim also has similar settings for sumneko lua, https://github.com/folke/lua-dev.nvim/blob/main/lua/lua-dev/sumneko.lua .
library = { fn.stdpath('data') .. "/site/pack/packer/opt/emmylua-nvim" },
library = {
fn.stdpath('data') .. "/site/pack/packer/opt/emmylua-nvim",
fn.stdpath('config'),
},
maxPreload = 2000,
preloadFileSize = 50000,
},