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,15 +22,12 @@
ts_ls = { ts_ls = {
package = pkgs.typescript-language-server; package = pkgs.typescript-language-server;
lspConfig = '' lspConfig = ''
lspconfig.ts_ls.setup { lspconfig.ts_ls.setup {
capabilities = capabilities; capabilities = capabilities,
on_attach = ( on_attach = function(client, bufnr)
function (client, bufnr)
attach_keymaps(client, bufnr); attach_keymaps(client, bufnr);
client.server_capabilities.documentFormattingProvider = false; client.server_capabilities.documentFormattingProvider = false;
end end,
) ,
cmd = ${ cmd = ${
if isList cfg.lsp.package if isList cfg.lsp.package
then expToLua cfg.lsp.package then expToLua cfg.lsp.package