aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/types/lsp/intelephense.lua8
-rw-r--r--lua/lspconfig/types/lsp/ruff.lua2
-rw-r--r--lua/lspconfig/types/lsp/ruff_lsp.lua2
-rw-r--r--lua/lspconfig/types/lsp/tailwindcss.lua6
4 files changed, 12 insertions, 6 deletions
diff --git a/lua/lspconfig/types/lsp/intelephense.lua b/lua/lspconfig/types/lsp/intelephense.lua
index b533a210..b9d21ef7 100644
--- a/lua/lspconfig/types/lsp/intelephense.lua
+++ b/lua/lspconfig/types/lsp/intelephense.lua
@@ -107,9 +107,9 @@
---Enables argument count diagnostics.
---
---```lua
----default = true
+---default = "on"
---```
----@field argumentCount? boolean
+---@field argumentCount? "on" | "declared" | "off"
---Enables deprecated diagnostics.
---
---```lua
@@ -245,9 +245,9 @@
---Enables undefined variable diagnostics.
---
---```lua
----default = true
+---default = "on"
---```
----@field undefinedVariables? boolean
+---@field undefinedVariables? "on" | "local" | "off"
---Enables unexpected token diagnostics.
---
---```lua
diff --git a/lua/lspconfig/types/lsp/ruff.lua b/lua/lspconfig/types/lsp/ruff.lua
index cef5ef36..2bb389e5 100644
--- a/lua/lspconfig/types/lsp/ruff.lua
+++ b/lua/lspconfig/types/lsp/ruff.lua
@@ -245,7 +245,7 @@
---The length is determined by the number of characters per line, except for lines containing East Asian characters or emojis.
---For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.
---
----The value must be greater than `0` and less than or equal to `320`.
+---The value must be greater than `0`.
---
---Note: While the formatter will attempt to format lines such that they remain
---within the `line-length`, it isn't a hard upper bound, and formatted lines may
diff --git a/lua/lspconfig/types/lsp/ruff_lsp.lua b/lua/lspconfig/types/lsp/ruff_lsp.lua
index 3480fb4d..e2d27d01 100644
--- a/lua/lspconfig/types/lsp/ruff_lsp.lua
+++ b/lua/lspconfig/types/lsp/ruff_lsp.lua
@@ -175,7 +175,7 @@
---default = {}
---```
---@field interpreter? string[]
----Set the [line length](https://docs.astral.sh/ruff/settings/#line-length) used by the formatter and linter. Must be greater than 0 and less than or equal to 320.
+---Set the [line length](https://docs.astral.sh/ruff/settings/#line-length) used by the formatter and linter. Must be greater than 0. Ruff 0.15.12 or older uses a maximum of 320.
---
---**This setting is used only by the native server.**
---@field lineLength? integer
diff --git a/lua/lspconfig/types/lsp/tailwindcss.lua b/lua/lspconfig/types/lsp/tailwindcss.lua
index d318d1f0..3f1455a8 100644
--- a/lua/lspconfig/types/lsp/tailwindcss.lua
+++ b/lua/lspconfig/types/lsp/tailwindcss.lua
@@ -20,6 +20,12 @@
---default = "warning"
---```
---@field cssConflict? "ignore" | "warning" | "error"
+---Deprecated Tailwind CSS at-rules
+---
+---```lua
+---default = "warning"
+---```
+---@field deprecatedAtRule? "ignore" | "warning" | "error"
---Unsupported use of the [`@apply` directive](https://tailwindcss.com/docs/functions-and-directives/#apply)
---
---```lua