fix unnecessary whitespace

This commit is contained in:
raf 2024-12-20 03:55:52 +00:00 committed by GitHub
parent 6e2f84ebf9
commit 48c64cfa3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,16 +22,13 @@
ts_ls = {
package = pkgs.typescript-language-server;
lspConfig = ''
lspconfig.ts_ls.setup {
capabilities = capabilities;
on_attach = (
function (client, bufnr)
attach_keymaps(client, bufnr);
client.server_capabilities.documentFormattingProvider = false;
end
) ,
cmd = ${
lspconfig.ts_ls.setup {
capabilities = capabilities,
on_attach = function(client, bufnr)
attach_keymaps(client, bufnr);
client.server_capabilities.documentFormattingProvider = false;
end,
cmd = ${
if isList cfg.lsp.package
then expToLua cfg.lsp.package
else ''{"${cfg.lsp.package}/bin/typescript-language-server", "--stdio"}''