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:
commit
9de08d0afe
@ -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,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user