From 9ad4462e8c3849e16e2313197d932f0b7508873b Mon Sep 17 00:00:00 2001 From: doryan Date: Fri, 9 May 2025 14:50:16 +0400 Subject: [PATCH] feat(ts/js): remove some inline hints --- lua/config/plugins/lsp_config.lua | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lua/config/plugins/lsp_config.lua b/lua/config/plugins/lsp_config.lua index 5b5b1ad..010cbe7 100644 --- a/lua/config/plugins/lsp_config.lua +++ b/lua/config/plugins/lsp_config.lua @@ -28,30 +28,26 @@ lspconfig.eslint.setup({ } }) +vim.lsp.enable('tailwindcss') + +lspconfig.tailwindcss.setup({}) + lspconfig.ts_ls.setup({ settings = { typescript = { inlayHints = { includeInlayParameterNameHints = "all", -- 'none' | 'literals' | 'all' - includeInlayParameterNameHintsWhenArgumentMatchesName = false, includeInlayFunctionParameterTypeHints = true, includeInlayVariableTypeHints = true, - includeInlayVariableTypeHintsWhenTypeMatchesName = false, includeInlayPropertyDeclarationTypeHints = true, - includeInlayFunctionLikeReturnTypeHints = true, - includeInlayEnumMemberValueHints = true, }, }, javascript = { inlayHints = { includeInlayParameterNameHints = "all", -- 'none' | 'literals' | 'all' - includeInlayParameterNameHintsWhenArgumentMatchesName = false, - includeInlayVariableTypeHints = true, includeInlayFunctionParameterTypeHints = true, - includeInlayVariableTypeHintsWhenTypeMatchesName = false, + includeInlayVariableTypeHints = true, includeInlayPropertyDeclarationTypeHints = true, - includeInlayFunctionLikeReturnTypeHints = true, - includeInlayEnumMemberValueHints = true, }, }, }