mirror of https://github.com/folke/neoconf.nvim
fix: rename sumneko_lua -> lua_ls (#12)
This commit is contained in:
parent
a514065e36
commit
156a3eed89
|
|
@ -10,13 +10,13 @@
|
|||
},
|
||||
"neoconf": {
|
||||
"plugins": {
|
||||
"sumneko_lua": {
|
||||
"lua_ls": {
|
||||
"enabled": true
|
||||
},
|
||||
}
|
||||
},
|
||||
"lspconfig": {
|
||||
"sumneko_lua": {
|
||||
"lua_ls": {
|
||||
"Lua.completion.callSnippet": "Replace",
|
||||
},
|
||||
}
|
||||
|
|
|
|||
10
README.md
10
README.md
|
|
@ -45,7 +45,7 @@ require("neoconf").setup({
|
|||
})
|
||||
|
||||
-- setup your lsp servers as usual
|
||||
require("lspconfig").sumneko_lua.setup(...)
|
||||
require("lspconfig").lua_ls.setup(...)
|
||||
```
|
||||
|
||||
## ⚙️ Configuration
|
||||
|
|
@ -84,9 +84,9 @@ require("lspconfig").sumneko_lua.setup(...)
|
|||
-- only show completion in json settings for configured lsp servers
|
||||
configured_servers_only = true,
|
||||
},
|
||||
-- configures sumneko_lua to get completion of lspconfig server settings
|
||||
sumneko_lua = {
|
||||
-- by default, sumneko_lua annotations are only enabled in your neovim config directory
|
||||
-- configures lua_ls to get completion of lspconfig server settings
|
||||
lua_ls = {
|
||||
-- by default, lua_ls annotations are only enabled in your neovim config directory
|
||||
enabled_for_neovim_config = true,
|
||||
-- explicitely enable adding annotations. Mostly relevant to put in your local .nvim.settings.json file
|
||||
enabled = false,
|
||||
|
|
@ -269,7 +269,7 @@ local my_settings = Neoconf.get("neodev", defaults)
|
|||
- [x] [sourcekit](https://github.com/swift-server/vscode-swift/tree/main/package.json)
|
||||
- [x] [spectral](https://github.com/stoplightio/vscode-spectral/tree/master/package.json)
|
||||
- [x] [stylelint_lsp](https://github.com/bmatcuk/coc-stylelintplus/tree/master/package.json)
|
||||
- [x] [sumneko_lua](https://github.com/sumneko/vscode-lua/tree/master/package.json)
|
||||
- [x] [lua_ls](https://github.com/LuaLS/vscode-lua/tree/master/package.json)
|
||||
- [x] [svelte](https://github.com/sveltejs/language-tools/tree/master/packages/svelte-vscode/package.json)
|
||||
- [x] [svlangserver](https://github.com/eirikpre/VSCode-SystemVerilog/tree/master/package.json)
|
||||
- [x] [tailwindcss](https://github.com/tailwindlabs/tailwindcss-intellisense/tree/master/packages/vscode-tailwindcss/package.json)
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ It’s important that you set up `neoconf.nvim` **BEFORE** `nvim-lspconfig`.
|
|||
})
|
||||
|
||||
-- setup your lsp servers as usual
|
||||
require("lspconfig").sumneko_lua.setup(...)
|
||||
require("lspconfig").lua_ls.setup(...)
|
||||
<
|
||||
|
||||
|
||||
|
|
@ -111,9 +111,9 @@ CONFIGURATION *neoconf.nvim-configuration*
|
|||
-- only show completion in json settings for configured lsp servers
|
||||
configured_servers_only = true,
|
||||
},
|
||||
-- configures sumneko_lua to get completion of lspconfig server settings
|
||||
sumneko_lua = {
|
||||
-- by default, sumneko_lua annotations are only enabled in your neovim config directory
|
||||
-- configures lua_ls to get completion of lspconfig server settings
|
||||
lua_ls = {
|
||||
-- by default, lua_ls annotations are only enabled in your neovim config directory
|
||||
enabled_for_neovim_config = true,
|
||||
-- explicitely enable adding annotations. Mostly relevant to put in your local .nvim.settings.json file
|
||||
enabled = false,
|
||||
|
|
@ -308,7 +308,7 @@ SUPPORTED LANGUAGE SERVERS *neoconf.nvim-supported-language-servers*
|
|||
- sourcekit <https://github.com/swift-server/vscode-swift/tree/main/package.json>
|
||||
- spectral <https://github.com/stoplightio/vscode-spectral/tree/master/package.json>
|
||||
- stylelint_lsp <https://github.com/bmatcuk/coc-stylelintplus/tree/master/package.json>
|
||||
- sumneko_lua <https://github.com/sumneko/vscode-lua/tree/master/package.json>
|
||||
- lua_ls <https://github.com/sumneko/vscode-lua/tree/master/package.json>
|
||||
- svelte <https://github.com/sveltejs/language-tools/tree/master/packages/svelte-vscode/package.json>
|
||||
- svlangserver <https://github.com/eirikpre/VSCode-SystemVerilog/tree/master/package.json>
|
||||
- tailwindcss <https://github.com/tailwindlabs/tailwindcss-intellisense/tree/master/packages/vscode-tailwindcss/package.json>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ local M = {}
|
|||
|
||||
--- @type table<string, LspSchema>
|
||||
M.overrides = {
|
||||
sumneko_lua = {
|
||||
lua_ls = {
|
||||
translate = true,
|
||||
},
|
||||
jsonls = {
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ M.defaults = {
|
|||
-- only show completion in json settings for configured lsp servers
|
||||
configured_servers_only = true,
|
||||
},
|
||||
-- configures sumneko_lua to get completion of lspconfig server settings
|
||||
sumneko_lua = {
|
||||
-- by default, sumneko_lua annotations are only enabled in your neovim config directory
|
||||
-- configures lua_ls to get completion of lspconfig server settings
|
||||
lua_ls = {
|
||||
-- by default, lua_ls annotations are only enabled in your neovim config directory
|
||||
enabled_for_neovim_config = true,
|
||||
-- explicitely enable adding annotations. Mostly relevant to put in your local .nvim.settings.json file
|
||||
enabled = false,
|
||||
|
|
|
|||
|
|
@ -48,10 +48,10 @@ function M.check()
|
|||
else
|
||||
warn("**lspconfig jsonls** is not installed? You won't get any auto completion in your settings files")
|
||||
end
|
||||
if vim.tbl_contains(available, "sumneko_lua") then
|
||||
ok("**lspconfig sumneko_lua** is installed")
|
||||
if vim.tbl_contains(available, "lua_ls") then
|
||||
ok("**lspconfig lua_ls** is installed")
|
||||
else
|
||||
warn("**lspconfig sumneko_lua** is not installed? You won't get any auto completion in your lua settings files")
|
||||
warn("**lspconfig lua_ls** is not installed? You won't get any auto completion in your lua settings files")
|
||||
end
|
||||
else
|
||||
error("**lspconfig** not installed?")
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@ function M.setup()
|
|||
end
|
||||
|
||||
function M.on_new_config(config, root_dir)
|
||||
if config.name == "sumneko_lua" then
|
||||
if config.name == "lua_ls" then
|
||||
local settings = Config.get({ file = root_dir })
|
||||
|
||||
local enabled = settings.plugins.sumneko_lua.enabled
|
||||
if not enabled and settings.plugins.sumneko_lua.enabled_for_neovim_config then
|
||||
local enabled = settings.plugins.lua_ls.enabled
|
||||
if not enabled and settings.plugins.lua_ls.enabled_for_neovim_config then
|
||||
enabled = Util.is_nvim_config(root_dir)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
"sourcekit": "https://raw.githubusercontent.com/swift-server/vscode-swift/main/package.json",
|
||||
"spectral": "https://raw.githubusercontent.com/stoplightio/vscode-spectral/master/package.json",
|
||||
"stylelint_lsp": "https://raw.githubusercontent.com/bmatcuk/coc-stylelintplus/master/package.json",
|
||||
"sumneko_lua": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/package.json",
|
||||
"lua_ls": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/package.json",
|
||||
"svelte": "https://raw.githubusercontent.com/sveltejs/language-tools/master/packages/svelte-vscode/package.json",
|
||||
"svlangserver": "https://raw.githubusercontent.com/eirikpre/VSCode-SystemVerilog/master/package.json",
|
||||
"tailwindcss": "https://raw.githubusercontent.com/tailwindlabs/tailwindcss-intellisense/master/packages/vscode-tailwindcss/package.json",
|
||||
|
|
|
|||
|
|
@ -9553,11 +9553,11 @@
|
|||
---@class lspconfig.settings.stylelint_lsp
|
||||
---@field stylelintplus _.lspconfig.settings.stylelint_lsp.Stylelintplus
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.CodeLens
|
||||
---@class _.lspconfig.settings.lua_ls.CodeLens
|
||||
-- Enable code lens.
|
||||
---@field enable boolean
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Completion
|
||||
---@class _.lspconfig.settings.lua_ls.Completion
|
||||
-- When the input looks like a file name, automatically `require` this file.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -9628,7 +9628,7 @@
|
|||
-- `Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately.
|
||||
-- Other settings will override individual settings without end of `!`.
|
||||
--
|
||||
---@class _.lspconfig.settings.sumneko_lua.GroupFileStatus
|
||||
---@class _.lspconfig.settings.lua_ls.GroupFileStatus
|
||||
-- * ambiguity-1
|
||||
-- * count-down-loop
|
||||
-- * different-requires
|
||||
|
|
@ -9749,7 +9749,7 @@
|
|||
-- `Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately.
|
||||
-- Other settings will override individual settings without end of `!`.
|
||||
--
|
||||
---@class _.lspconfig.settings.sumneko_lua.GroupSeverity
|
||||
---@class _.lspconfig.settings.lua_ls.GroupSeverity
|
||||
-- * ambiguity-1
|
||||
-- * count-down-loop
|
||||
-- * different-requires
|
||||
|
|
@ -9872,7 +9872,7 @@
|
|||
--
|
||||
-- End with `!` means override the group setting `diagnostics.groupFileStatus`.
|
||||
--
|
||||
---@class _.lspconfig.settings.sumneko_lua.NeededFileStatus
|
||||
---@class _.lspconfig.settings.lua_ls.NeededFileStatus
|
||||
-- Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10208,7 +10208,7 @@
|
|||
--
|
||||
-- End with `!` means override the group setting `diagnostics.groupSeverity`.
|
||||
--
|
||||
---@class _.lspconfig.settings.sumneko_lua.Severity
|
||||
---@class _.lspconfig.settings.lua_ls.Severity
|
||||
-- Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10540,7 +10540,7 @@
|
|||
-- ```
|
||||
---@field unused-vararg "Error" | "Warning" | "Information" | "Hint" | "Error!" | "Warning!" | "Information!" | "Hint!"
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Diagnostics
|
||||
---@class _.lspconfig.settings.lua_ls.Diagnostics
|
||||
-- Disabled diagnostic (Use code in hover brackets).
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10574,12 +10574,12 @@
|
|||
-- `Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately.
|
||||
-- Other settings will override individual settings without end of `!`.
|
||||
--
|
||||
---@field groupFileStatus _.lspconfig.settings.sumneko_lua.GroupFileStatus
|
||||
---@field groupFileStatus _.lspconfig.settings.lua_ls.GroupFileStatus
|
||||
-- Modify the diagnostic severity in a group.
|
||||
-- `Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately.
|
||||
-- Other settings will override individual settings without end of `!`.
|
||||
--
|
||||
---@field groupSeverity _.lspconfig.settings.sumneko_lua.GroupSeverity
|
||||
---@field groupSeverity _.lspconfig.settings.lua_ls.GroupSeverity
|
||||
-- How to diagnose ignored files.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10598,12 +10598,12 @@
|
|||
--
|
||||
-- End with `!` means override the group setting `diagnostics.groupFileStatus`.
|
||||
--
|
||||
---@field neededFileStatus _.lspconfig.settings.sumneko_lua.NeededFileStatus
|
||||
---@field neededFileStatus _.lspconfig.settings.lua_ls.NeededFileStatus
|
||||
-- Modify the diagnostic severity.
|
||||
--
|
||||
-- End with `!` means override the group setting `diagnostics.groupSeverity`.
|
||||
--
|
||||
---@field severity _.lspconfig.settings.sumneko_lua.Severity
|
||||
---@field severity _.lspconfig.settings.lua_ls.Severity
|
||||
-- Do not diagnose `unused-local` when the variable name matches the following pattern.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10629,7 +10629,7 @@
|
|||
-- ```
|
||||
---@field workspaceRate integer
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Doc
|
||||
---@class _.lspconfig.settings.lua_ls.Doc
|
||||
-- Treat specific field names as package, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are package, witch can only be accessed in the file where the definition is located.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10649,7 +10649,7 @@
|
|||
-- ```
|
||||
---@field protectedName string[]
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Format
|
||||
---@class _.lspconfig.settings.lua_ls.Format
|
||||
-- The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.
|
||||
-- Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
|
||||
--
|
||||
|
|
@ -10665,7 +10665,7 @@
|
|||
-- ```
|
||||
---@field enable boolean
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Hint
|
||||
---@class _.lspconfig.settings.lua_ls.Hint
|
||||
-- Show hints of array index when constructing a table.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10701,7 +10701,7 @@
|
|||
-- Show hints of type at assignment operation.
|
||||
---@field setType boolean
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Hover
|
||||
---@class _.lspconfig.settings.lua_ls.Hover
|
||||
-- Enable hover.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10746,7 +10746,7 @@
|
|||
-- ```
|
||||
---@field viewStringMax integer
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Misc
|
||||
---@class _.lspconfig.settings.lua_ls.Misc
|
||||
-- Specify the executable path in VSCode.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10766,7 +10766,7 @@
|
|||
-- * `enable`: always enable
|
||||
-- * `disable`: always disable
|
||||
--
|
||||
---@class _.lspconfig.settings.sumneko_lua.Builtin
|
||||
---@class _.lspconfig.settings.lua_ls.Builtin
|
||||
--
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10876,14 +10876,14 @@
|
|||
-- ```
|
||||
---@field utf8 "default" | "enable" | "disable"
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Runtime
|
||||
---@class _.lspconfig.settings.lua_ls.Runtime
|
||||
-- Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.
|
||||
--
|
||||
-- * `default`: Indicates that the library will be enabled or disabled according to the runtime version
|
||||
-- * `enable`: always enable
|
||||
-- * `disable`: always disable
|
||||
--
|
||||
---@field builtin _.lspconfig.settings.sumneko_lua.Builtin
|
||||
---@field builtin _.lspconfig.settings.lua_ls.Builtin
|
||||
-- File encoding. The `ansi` option is only available under the `Windows` platform.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10948,7 +10948,7 @@
|
|||
-- ```
|
||||
---@field version "Lua 5.1" | "Lua 5.2" | "Lua 5.3" | "Lua 5.4" | "LuaJIT"
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Semantic
|
||||
---@class _.lspconfig.settings.lua_ls.Semantic
|
||||
-- Semantic coloring of type annotations.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10970,7 +10970,7 @@
|
|||
-- ```
|
||||
---@field variable boolean
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.SignatureHelp
|
||||
---@class _.lspconfig.settings.lua_ls.SignatureHelp
|
||||
-- Enable signature help.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10978,7 +10978,7 @@
|
|||
-- ```
|
||||
---@field enable boolean
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Spell
|
||||
---@class _.lspconfig.settings.lua_ls.Spell
|
||||
-- Custom words for spell checking.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -10986,7 +10986,7 @@
|
|||
-- ```
|
||||
---@field dict string[]
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Type
|
||||
---@class _.lspconfig.settings.lua_ls.Type
|
||||
-- Allowed to assign the `number` type to the `integer` type.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -11005,7 +11005,7 @@
|
|||
---@field weakUnionCheck boolean
|
||||
|
||||
-- Configures the formatting behavior while typing Lua code.
|
||||
---@class _.lspconfig.settings.sumneko_lua.Config
|
||||
---@class _.lspconfig.settings.lua_ls.Config
|
||||
-- Controls if `end` is automatically completed at suitable positions.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -11025,11 +11025,11 @@
|
|||
-- ```
|
||||
---@field format_line string
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.TypeFormat
|
||||
---@class _.lspconfig.settings.lua_ls.TypeFormat
|
||||
-- Configures the formatting behavior while typing Lua code.
|
||||
---@field config _.lspconfig.settings.sumneko_lua.Config
|
||||
---@field config _.lspconfig.settings.lua_ls.Config
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Window
|
||||
---@class _.lspconfig.settings.lua_ls.Window
|
||||
-- Show progress bar in status bar.
|
||||
--
|
||||
-- ```lua
|
||||
|
|
@ -11043,7 +11043,7 @@
|
|||
-- ```
|
||||
---@field statusBar boolean
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Workspace
|
||||
---@class _.lspconfig.settings.lua_ls.Workspace
|
||||
-- Automatic detection and adaptation of third-party libraries, currently supported libraries are:
|
||||
--
|
||||
-- * OpenResty
|
||||
|
|
@ -11101,26 +11101,26 @@
|
|||
-- ```
|
||||
---@field userThirdParty string[]
|
||||
|
||||
---@class _.lspconfig.settings.sumneko_lua.Lua
|
||||
---@field codeLens _.lspconfig.settings.sumneko_lua.CodeLens
|
||||
---@field completion _.lspconfig.settings.sumneko_lua.Completion
|
||||
---@field diagnostics _.lspconfig.settings.sumneko_lua.Diagnostics
|
||||
---@field doc _.lspconfig.settings.sumneko_lua.Doc
|
||||
---@field format _.lspconfig.settings.sumneko_lua.Format
|
||||
---@field hint _.lspconfig.settings.sumneko_lua.Hint
|
||||
---@field hover _.lspconfig.settings.sumneko_lua.Hover
|
||||
---@field misc _.lspconfig.settings.sumneko_lua.Misc
|
||||
---@field runtime _.lspconfig.settings.sumneko_lua.Runtime
|
||||
---@field semantic _.lspconfig.settings.sumneko_lua.Semantic
|
||||
---@field signatureHelp _.lspconfig.settings.sumneko_lua.SignatureHelp
|
||||
---@field spell _.lspconfig.settings.sumneko_lua.Spell
|
||||
---@field type _.lspconfig.settings.sumneko_lua.Type
|
||||
---@field typeFormat _.lspconfig.settings.sumneko_lua.TypeFormat
|
||||
---@field window _.lspconfig.settings.sumneko_lua.Window
|
||||
---@field workspace _.lspconfig.settings.sumneko_lua.Workspace
|
||||
---@class _.lspconfig.settings.lua_ls.Lua
|
||||
---@field codeLens _.lspconfig.settings.lua_ls.CodeLens
|
||||
---@field completion _.lspconfig.settings.lua_ls.Completion
|
||||
---@field diagnostics _.lspconfig.settings.lua_ls.Diagnostics
|
||||
---@field doc _.lspconfig.settings.lua_ls.Doc
|
||||
---@field format _.lspconfig.settings.lua_ls.Format
|
||||
---@field hint _.lspconfig.settings.lua_ls.Hint
|
||||
---@field hover _.lspconfig.settings.lua_ls.Hover
|
||||
---@field misc _.lspconfig.settings.lua_ls.Misc
|
||||
---@field runtime _.lspconfig.settings.lua_ls.Runtime
|
||||
---@field semantic _.lspconfig.settings.lua_ls.Semantic
|
||||
---@field signatureHelp _.lspconfig.settings.lua_ls.SignatureHelp
|
||||
---@field spell _.lspconfig.settings.lua_ls.Spell
|
||||
---@field type _.lspconfig.settings.lua_ls.Type
|
||||
---@field typeFormat _.lspconfig.settings.lua_ls.TypeFormat
|
||||
---@field window _.lspconfig.settings.lua_ls.Window
|
||||
---@field workspace _.lspconfig.settings.lua_ls.Workspace
|
||||
|
||||
---@class lspconfig.settings.sumneko_lua
|
||||
---@field Lua _.lspconfig.settings.sumneko_lua.Lua
|
||||
---@class lspconfig.settings.lua_ls
|
||||
---@field Lua _.lspconfig.settings.lua_ls.Lua
|
||||
|
||||
---@class _.lspconfig.settings.svelte.Language-server
|
||||
-- - You normally don't set this - Enable more verbose logging for the language server useful for debugging language server execution.
|
||||
|
|
|
|||
|
|
@ -401,11 +401,11 @@ lspconfig.stylelint_lsp = {
|
|||
setup = function(options) end,
|
||||
}
|
||||
|
||||
---@class lspconfig.options.sumneko_lua: _.lspconfig.options
|
||||
---@field settings lspconfig.settings.sumneko_lua
|
||||
---@class lspconfig.options.lua_ls: _.lspconfig.options
|
||||
---@field settings lspconfig.settings.lua_ls
|
||||
|
||||
lspconfig.sumneko_lua = {
|
||||
---@param options lspconfig.options.sumneko_lua
|
||||
lspconfig.lua_ls = {
|
||||
---@param options lspconfig.options.lua_ls
|
||||
setup = function(options) end,
|
||||
}
|
||||
|
||||
|
|
@ -554,7 +554,7 @@ lspconfig.zls = {
|
|||
---@field sourcekit lspconfig.options.sourcekit
|
||||
---@field spectral lspconfig.options.spectral
|
||||
---@field stylelint_lsp lspconfig.options.stylelint_lsp
|
||||
---@field sumneko_lua lspconfig.options.sumneko_lua
|
||||
---@field lua_ls lspconfig.options.lua_ls
|
||||
---@field svelte lspconfig.options.svelte
|
||||
---@field svlangserver lspconfig.options.svlangserver
|
||||
---@field tailwindcss lspconfig.options.tailwindcss
|
||||
|
|
@ -617,7 +617,7 @@ lspconfig.zls = {
|
|||
---@field sourcekit lspconfig.settings.sourcekit
|
||||
---@field spectral lspconfig.settings.spectral
|
||||
---@field stylelint_lsp lspconfig.settings.stylelint_lsp
|
||||
---@field sumneko_lua lspconfig.settings.sumneko_lua
|
||||
---@field lua_ls lspconfig.settings.lua_ls
|
||||
---@field svelte lspconfig.settings.svelte
|
||||
---@field svlangserver lspconfig.settings.svlangserver
|
||||
---@field tailwindcss lspconfig.settings.tailwindcss
|
||||
|
|
|
|||
Loading…
Reference in New Issue