mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-25 10:18:42 +02:00
enc: lua_ls set one workspace load
This commit is contained in:
parent
a988f497e1
commit
73d0838347
2 changed files with 40 additions and 37 deletions
|
@ -41,9 +41,9 @@
|
||||||
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
||||||
"nvim-nio": { "branch": "master", "commit": "7969e0a8ffabdf210edd7978ec954a47a737bbcc" },
|
"nvim-nio": { "branch": "master", "commit": "7969e0a8ffabdf210edd7978ec954a47a737bbcc" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
||||||
"nvim-scrollview": { "branch": "main", "commit": "fd334e5ad0c616987d1b9114890a59c97165cf83" },
|
"nvim-scrollview": { "branch": "main", "commit": "06563ae0c9928a2df42aefe66f2aed2f2943e32e" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "2086e564c4d23fea714e8a6d63b881e551af2f41" },
|
"nvim-tree.lua": { "branch": "master", "commit": "2086e564c4d23fea714e8a6d63b881e551af2f41" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "53b32a6aa3e1de224e82f88cbdc08584c753adb7" },
|
"nvim-treesitter": { "branch": "master", "commit": "c723b87ef67159ddaef32d7e9c048a9bdfaa0934" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "ddfccbf0df1b9349c2b9e9b17f4afa8f9b6c1ed1" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "ddfccbf0df1b9349c2b9e9b17f4afa8f9b6c1ed1" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
||||||
|
|
|
@ -1,38 +1,41 @@
|
||||||
-- https://luals.github.io/wiki/settings/
|
-- https://luals.github.io/wiki/settings/
|
||||||
return {
|
return {
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
format = {
|
format = {
|
||||||
enable = false,
|
enable = false,
|
||||||
},
|
},
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
globals = { "vim", "spec" },
|
globals = { "vim", "spec" },
|
||||||
},
|
},
|
||||||
runtime = {
|
runtime = {
|
||||||
version = "LuaJIT",
|
version = "LuaJIT",
|
||||||
special = {
|
special = {
|
||||||
spec = "require",
|
spec = "require",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
workspace = {
|
-- workspace = {
|
||||||
checkThirdParty = false,
|
-- checkThirdParty = false,
|
||||||
library = {
|
-- library = {
|
||||||
[vim.fn.expand("$VIMRUNTIME/lua")] = true,
|
-- [vim.fn.expand("$VIMRUNTIME/lua")] = true,
|
||||||
[vim.fn.stdpath("config") .. "/lua"] = true,
|
-- [vim.fn.stdpath("config") .. "/lua"] = true,
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
hint = {
|
workspace = {
|
||||||
enable = false,
|
checkThirdParty = false,
|
||||||
arrayIndex = "Disable", -- "Enable" | "Auto" | "Disable"
|
},
|
||||||
await = true,
|
hint = {
|
||||||
paramName = "Disable", -- "All" | "Literal" | "Disable"
|
enable = false,
|
||||||
paramType = true,
|
arrayIndex = "Disable", -- "Enable" | "Auto" | "Disable"
|
||||||
semicolon = "All", -- "All" | "SameLine" | "Disable"
|
await = true,
|
||||||
setType = false,
|
paramName = "Disable", -- "All" | "Literal" | "Disable"
|
||||||
},
|
paramType = true,
|
||||||
telemetry = {
|
semicolon = "All", -- "All" | "SameLine" | "Disable"
|
||||||
enable = false,
|
setType = false,
|
||||||
},
|
},
|
||||||
},
|
telemetry = {
|
||||||
},
|
enable = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue